Yes... you can use the explode function.

Example:

<?
        $parts = explode(",",$item);
?>

if $item where "Hello,There", $parts[0] would = "Hello" and $parts[1]
would = "There".

Thanks,

Mike Ridinger

On Fri, 23 Feb 2001, Todd Cary wrote:

> I have a comma delimited string that I need to parse into an array.  Is
> there a PHP function that will do that ?
> 
> Many thanks..........
> 
> Todd
> 
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]
> 
> 
> 
> 


-- 
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]

Reply via email to