Hello Paul, Monday, June 27, 2005, 4:33:35 PM, you wrote: PN> If a have a string thats 11 characters long how can I strip off PN> the last two characters? $newstring = substr($string, 0, -2); Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services "I do not fear computers. I fear the lack of them." - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php