You can do this with index().

 

> -----Original Message-----
> From: Tristan M [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 12:02 PM
> To: [email protected]
> Subject: isolating 1 character from a string
> 
> Hey, first off thanks for all the help recently, you guys 
> have solved all my problems ive given you so far:) but heres 
> a new one,
> 
> what id like to do is make the code isolate one character 
> from the left, like visual basic's left().
> 
> this is what i want:
> 
> i have a value, say 5678
> i want to return only the 5 to one string and the 678 to another
> 
> is there any way to do this? ive been searching all over the 
> net with no luck
> 
> _________________________________________________________________
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> 
> 
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to