PHP: what method to use when trimming a string to certain amount of chars?

romyco

New Member
\[code\]if (strlen($filename) > 70) { //trim the string to 70 chars //delete chars from the beginning! }\[/code\]what method do i use.regards matt
 
Back
Top