![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() Answer: A huge "thank you" to Pekka and Tony. plainText worked perfect. Regards, Pranav | |
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Object o = current
o."fred" = plainText(o."Object Heading" "") ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
A huge "thank you" to Pekka and Tony. plainText worked perfect.
Regards, Pranav |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.