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: Extracting only the actual text from a rich-text string
Topic Summary:
Created On: 17-May-2007 18:50
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.
Answer This question was answered by Pranav Chandrasekhar, on Friday, May 18, 2007 3:53 PM

Answer:
A huge "thank you" to Pekka and Tony. plainText worked perfect.

Regards,

Pranav
 17-May-2007 18:50
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

I have a quick question for all of you since I have been struggling with this all morning. I am trying to set the contents of the "Object Heading" to another attribute but I do NOT want the rich-text bits to get incorporated in the other attribute. I have been unsuccessful in doing this so far. Any tips on how I may achieve this would be very helpful. I hope to hear from any one of you real soon. Thank you.

Regards,

Pranav
Report this to a Moderator Report this to a Moderator
 17-May-2007 19:02
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

There is an undocumented function plainText, which returns a text string from a rich text string. Search this forum for some exaple code pieces.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/

Edited: 17-May-2007 at 19:03 by Pekka Mäkinen
Report this to a Moderator Report this to a Moderator
 18-May-2007 10:01
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Object o = current

o."fred" = plainText(o."Object Heading" "")

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 18-May-2007 15:53
User is offline View Users Profile Print this message


Pranav Chandrasekhar

Posts: 101
Joined: 16-May-2006

Answer Answer
A huge "thank you" to Pekka and Tony. plainText worked perfect.

Regards,

Pranav
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.