Limit a string to 13 charcters...
Posted: Sat Sep 12, 2009 3:51 pm
Can someone help me with a simple php function?
I have an area that will only fit 13 characters.
So if the string I want to put in there is longer than 13 characters I want to chop it down to 10 and add ...
Example:
Hello My Name Is Greg ->becomes-> Hello My N...
Thanks!
I have an area that will only fit 13 characters.
So if the string I want to put in there is longer than 13 characters I want to chop it down to 10 and add ...
Example:
Hello My Name Is Greg ->becomes-> Hello My N...
Thanks!