Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Remove Trailing White Space from Rich Text String
Topic Summary: Remove Trailing White Space
Created On: 10-Sep-2007 20:08
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10-Sep-2007 20:08
User is offline View Users Profile Print this message


David Bond

Posts: 5
Joined: 2-Mar-2006

Does anyone have a function to remove trailing white space from a rich text string?  I want to use it before exporting to MSWord.  Currently I am removing the white space after the string is exported, but I would like to do so before I export.
Report this to a Moderator Report this to a Moderator
 11-Sep-2007 09:30
User is offline View Users Profile Print this message


Peter Albert

Posts: 232
Joined: 30-Dec-2005

Just an idea: You could use a combination of regular expressions and the "cutRichText" perm to do this. See attached code snippet.

Peter
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.