Re: [PHP] get some part of text

2003-11-14 Thread CPT John W. Holmes
[snip] 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. [/snip] How about this, also... $pos = strpos('

RE: [PHP] get some part of text

2003-11-14 Thread Jay Blanchard
[snip] 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. [/snip] If the line always begins with job_res

[PHP] get some part of text

2003-11-14 Thread QT
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