I have a chunk of text like this: $string="bla bla bla (12837) ble blo bli sjhs9 39udjkd"; I only want "bla bla bla" out of it... what is wrong with: $newString = strtok ($string,"(128"); altough this seems to work: $newStrArray = explode("(128",$string); so $newStrArray[0] would have exactly what I want... why doesn't strtok() works here? ____________________________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]