Thread: need regex help
View Single Post
Old 11-22-2006, 10:04 AM  
calmlikeabomb
Confirmed User
 
calmlikeabomb's Avatar
 
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
PHP Code:

$item
='12345678:firstname';

$parts=explode(':'$item);

//Outputs

$parts[0]='12345678';
$parts[1]='firstname'
__________________
subarus.
calmlikeabomb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote