View previous topic :: View next topic
|
Author |
Message |
Rajeshwari.b
New User
Joined: 23 Feb 2006 Posts: 2 Location: India
|
|
|
|
Hi ,
I want to know can we use Search command to search string in a sentence contains words ,special chars etc.
ex: I need to search string '36 Arakas' [/color]
in the below line of strings(Address)
' 36 Arakashan Road,
Opposite New Delhi Railway Station
Pin code-5902761'
[/color]
Is any other way can we do this other than Search? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You can do what you want using reference modification.
To do what you want, you will have to determine the length of the argument and then set up a loop to compare the argument against the string starting at the first position and advancing thru the string modifying the starting position of the compare until you have parsed the string.
You will also need to determine whether upper/lower case is to be considered. I'd suggest converting everything to upper case before comparing if case is not to be considered. |
|
Back to top |
|
|
Rajeshwari.b
New User
Joined: 23 Feb 2006 Posts: 2 Location: India
|
|
|
|
thanks!!!
I will try this.... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome and good luck
If you have questions as you proceed, we're here. |
|
Back to top |
|
|
|