|
-
Jun 28th, 2003, 06:38 PM
#1
Thread Starter
Lively Member
Im going to be very specific... (string finding/manipulation)
Alrighty,
I am ALMOST finsihed with the current program i am writing, i need to do one simple thing:
I have 51 of these: http://vnboards.ign.com/user.asp?usr=<number> strings in a textbox, Now, im looking to use ALL 51 of thoes strings, but first i need to recognize them, I know exactally how to find the FIRST string, and take what i need from it, but i cant say the same for all the others... im using this to find the first string right now:
Code:
Function finduid()
Dim iEnd As Integer
spam = TextBox2.Text
Dim inner As String = "/user.asp?usr="
uid = (spam.Substring(spam.IndexOf(inner), 25))
uid = (Mid(uid, 15, 25))
iEnd = uid.LastIndexOf(">") - 1
uid = uid.Substring(0, iEnd - 0).Trim
Trim(uid)
End Function
But i have no idea how to even begin to search for the next string, or the string after that...
Also, how could i check for repeat strings?
Any help anyone could offer would be great!
thanks a ton
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
|