[snip]
If a have a string thats 11 characters long how can I strip off the last
two characters?
[/snip]

$newString = substr($oldString, 0, 8);
echo $newString;

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to