In what case would you have a semi-colon in the string?
Orangehairedboy [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Aaron,
Thanks for the advise, but I'm got a problem. If I first split it up by
/;/,
how do I catch it if there's a semi-colon inside a
Probably none of the standard headers, but perhaps a custom header defined
by the user. It's allowed for in RFC 822 and I'd like to support it.
Why do you ask? Do you have a solution?
Aaron [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In what case would you
Lewis,
First I would look at breaking out the tags:
// User: JohnDoe; age=32; nickname=Billy 'the' Kid; haircolor=orange;
$string = 'User: JohnDoe; age=32; nickname=Billy \'the\' Kid;
haircolor=orange;';
$stringArray = preg_split('/;/', $string, -1, PREG_SPLIT_NO_EMPTY);
Then split
Aaron,
Thanks for the advise, but I'm got a problem. If I first split it up by /;/,
how do I catch it if there's a semi-colon inside a string?
Lewis
Aaron [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Lewis,
First I would look at breaking out the tags:
4 matches
Mail list logo