TIB: String command??
[Prev][Next][Index][Thread]
TIB: String command??
Does anyone know how i can 'grab' a character from a string at whatever
place i specify it to get it at....
E.g.
Theoretically speaking...
'hello there'=>a
grab('a',3)=>b
print b
these lines of code should return the first letter 'l' from the string
stored in 'a' (The '3' means 3 characters along).
And heres another example...
'hello there'=>a
grab('a',7)=>b
print b
These lines of code should print the letter 't' (The 7'th character along
the string).
Tell me if you need more info.
Thanks, Simon.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Follow-Ups: