![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: string extract Topic Summary: how to extract a word From object Text Created On: 26-Sep-2007 13:06 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I am trying to extract any word which ends with _exp..
ex:if the object text is : Textfunction for getting word_exp i need to extract word_exp Any help appreciated |
|
![]() |
|
![]() |
|
Tarun,
See the attached code. You need to read about regular expressions in the DXL Reference Manual and look up some tutorials on the Internet. They are powerful and complex. The attached code assumes you only have 1 instance of "_exp" in each Object Text. ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
|
![]() |
|
Tarun,
My example also assumes that _exp is not the first word of the Object Text. ------------------------- Kevin Murphy http://www.baselinesinc.com The Requirements Management Experts |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
string extract
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.