|
-
Jun 26th, 2007, 05:27 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Get a string of unknown lenght ?
I have a string similar in form to this “12345 RTYUICK 4566/45679/23456789/2344/677”
But the real one will be different each time my runs, what I want to do is get the part of the string between the first two “/” do some calculations on it and put it back. Now in the example above “/45679/” the bit I need is the “45679” but in my app this could be “/1/” or up to “/100000000/”
So I need to say something like goto the first “/” and grab all there is until the next “/”
Is this possible? If so how?
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
|