|
-
Feb 16th, 2007, 07:28 PM
#1
Thread Starter
Fanatic Member
Search String
Is there API or a Refrence in VB that will allow me to quickly(as in 1 or 2 lines of code) check a string to see if another string is in it?
Example:
Im searching through these 4 lines:
aaaaaaaaaaaaaaaaa1aaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaa111aaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1
My search string is "11"
It will return the 3rd line only, since it contains my search string.
Ive seen it before but i cant find it anywhere, it was 1 line of code that would return true or false.. Thats what i need
Any help would be greatly appreciated, thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|