Could you please adjust your computer time or the timezone setting? Your mail arrives as if it was send tomorrow morning. Quite confusing when replies arrive at an earlier time and hard to follow this list.



At 07:24 15-11-2003, you wrote:
I can not understand very well,

shoul I write something like that

$NewError = /errorCode=\"([~\"]+)\"/;

Check the regular expressions part of the manual on www.php.net\preg_match or so.
$searchpattern="|errorCode=\"([[:digit:]]+)\"|";
the result(s) will be somewhere in the resulting array. Check the documentation.




"Rob Adams" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Try a regular expression.
>
> /errorCode=\"([~\"]+)\"/
>
> I'm not good at that kind of syntax, but something very similar to that
> should work.
>
>   -- Rob
>
>
>
> "Qt" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > dear Sirs,
> >
> > I have this string;
> >
> > job_resp errorCode="4194337" description="Originator you"
> >
> > I need to take only errorCode value from this string. I am thinking and
> > thinking and can not find how to to. I can split with "=" but allways
> > erroCode place is changing in the string.
> >
> > Any idea
> >
> > Best Regards

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to