SOLVED - How do you cut a string?
Posted: Sat Feb 17, 2007 6:31 am
Hi,
I was wondering how you would cut a string in PHP to get the first 50 letters of it? Say I have a 200 word variable and I want to get the first 50 letters to the left of it. How would I go about doing so?
Regards,
Matt
I was wondering how you would cut a string in PHP to get the first 50 letters of it? Say I have a 200 word variable and I want to get the first 50 letters to the left of it. How would I go about doing so?
Regards,
Matt