alecks Posted March 4, 2007 Share Posted March 4, 2007 is there a function that can remove characters from the end of a string, ex $string = abcdefghijklmnop; this_function($string,-3); // abcdefghijklm I know a function sorta like this exists bunt I can't recall it, I'm afraid ): can you help me out, please :3 ? Link to comment https://forums.phpfreaks.com/topic/41076-remove-characters-from-end-of-a-string/ Share on other sites More sharing options...
fert Posted March 4, 2007 Share Posted March 4, 2007 http://us2.php.net/manual/en/function.substr.php Link to comment https://forums.phpfreaks.com/topic/41076-remove-characters-from-end-of-a-string/#findComment-198913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.