http://php.net/substr On Sun, May 14, 2006 12:13 pm, Ross wrote: > > Not so good with the string functions but I want to remove the last 15 > characters from a query. Thought this would work. > > echo "the query is".rtrim($query, 15); > > Ross > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php