Perad Posted March 6, 2008 Share Posted March 6, 2008 How do I shorten a string by 1 character? Link to comment https://forums.phpfreaks.com/topic/94682-shorten-string-by-one-character/ Share on other sites More sharing options...
AndyB Posted March 6, 2008 Share Posted March 6, 2008 substr() would be my choice - http://ca.php.net/manual/en/function.substr.php Link to comment https://forums.phpfreaks.com/topic/94682-shorten-string-by-one-character/#findComment-484771 Share on other sites More sharing options...
Perad Posted March 6, 2008 Author Share Posted March 6, 2008 Thank you, that fits the bill perfectly. Link to comment https://forums.phpfreaks.com/topic/94682-shorten-string-by-one-character/#findComment-484774 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.