PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
ibanez270dx
Forum Commoner
Posts: 74 Joined: Thu Jul 27, 2006 12:06 pm
Location: Everywhere, California
Post
by ibanez270dx » Tue Aug 29, 2006 7:04 pm
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Aug 29, 2006 7:08 pm
substr() which was mentioned in your previous thread.
ibanez270dx
Forum Commoner
Posts: 74 Joined: Thu Jul 27, 2006 12:06 pm
Location: Everywhere, California
Post
by ibanez270dx » Tue Aug 29, 2006 7:11 pm
oh whoops, sorry... I'm kinda scatterbrained right now...