On Thu, 13 Mar 2003 09:13:35 -0500, you wrote: >Then split the variable where there is a "S". The problem showed up when >there is another "S" in the field. I only want to split the first "S" at the >beginning of the field. Isn't there an additional value to add to the split
$line = 'S12345'; if ($line[0] == 'S') { /* do stuff */ } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php