Page 1 of 1

Quick Question

Posted: Tue Aug 29, 2006 7:04 pm
by ibanez270dx
Hi,
How can I select only the first three letters in a string and store them in their own variable? I don't see anything on php.net...

Thanks,
- Jeff

Posted: Tue Aug 29, 2006 7:08 pm
by feyd
substr() which was mentioned in your previous thread.

Posted: Tue Aug 29, 2006 7:11 pm
by ibanez270dx
oh whoops, sorry... I'm kinda scatterbrained right now...