Does php have a function that truncates the recordset returned?
In other words, I want to retrieve a bunch of text from a text field, but only want to show the first 10 characters.
example
(Returned value = This is the long part of the text field that I want to truncate.)
(What I want to print = This is the ...)
I know this can be done in MS Access with a Left() expressions, but not sure how to do it in php.
Can't find anything in mySQL or php manual. (mainly because I am not sure what to look for.
Thanks in advance,
Jacob