remove last character from a string
2 replies to this topic
Posted 20 September 2006 - 01:13 PM
<?php $str = substr($str, 0, strlen($str) - 1); ?>
You can't win, you can't lose, you can't break even... you can't even get out of the game.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users