![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Search text in module Topic Summary: Sum up the search in Object Heading and Text Created On: 19-Jul-2006 18:00 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Hi Krishna, the best way would be to do it in one loop. By concatinating an empty string, you can use the attribute values directly. Be carefull with using the regular expression - your search string should not contain the special phrases used in REs. Good luck ![]() Greetings Reik Schröder | |
![]() |
|
While conducting search for specific text in a module, I want to find out any instance of the text in Object Heading, Object Short Text or Object Text. I have the following code for the Object Text looping through the module.
string searchText = "xxxx" Regexp rSearchText = regexp searchText string textToSearch = o."Object Text" if (rSearchText textToSearch) { (do something) } If I want to do the search in the Object Heading and Object Short Text also, do I have to run separate loops? Is there a way that all the searches can be combined to one? Thanks in advance for any suggestions - Krishna |
|
![]() |
|
![]() |
|
Hi Krishna,
the best way would be to do it in one loop. By concatinating an empty string, you can use the attribute values directly. Be carefull with using the regular expression - your search string should not contain the special phrases used in REs. Good luck ![]() Greetings Reik Schröder ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Hi Reik,
This works very well. Thanks for the tip. - Krishna |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Search text in module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.