get first 70 chars of a variable

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

Post Reply
tommy1987
Forum Commoner
Posts: 92
Joined: Tue Feb 21, 2006 8:35 pm

get first 70 chars of a variable

Post by tommy1987 »

I just need a function which takes the first 70 chars of a variable and gets rid of the rest.

Im sure one exists.....


Please help, I have tried php.net but cant find one without knowing the name of it
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

Post Reply