Jeff Bluemel wrote:

> I have a string that will look like the following;
> data1|data2
> now - I need to put data1 in a variable, and data2 in another variable.
> I've found the functions strlen, and strpos, but I can't figure how to
> grab this data.
> thanks,
> Jeff


list($var1, $var2) = explode('|', 'data1|data2');


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to