Julian Matz
asked on
Strings
Hello!
I'm looking for the function to get the first x_number of characters from a string...
For example:
The string "This string of text is a little bit too long." should be displayed as:
"This string of text is..."
I'm looking for the function to get the first x_number of characters from a string...
For example:
The string "This string of text is a little bit too long." should be displayed as:
"This string of text is..."
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
julianmatz,
Glad I could help. Thanks for the fun question, grade and points.
Glad I could help. Thanks for the fun question, grade and points.
ASKER
Thank you for the quick answer! Exactly what I was looking for but had trouble finding it in the manual...
http://php.net/manual/en/function.substr.php
-Julian.