how do i strip the last 3 (for example) characters from a string.
for exaple, how would i turn
"welcome to my phpbuilder thread"
to:
"welcome to my phpbuilder thr"
(can't use str_replace because there might be multiple occurances)
Thanks!
substr($string, 0 ,-3)
http://www.php.net/substr
thank you! works like a charm.