problems with string manipulations

Hello Everyone,
I am experiencing a problem and I am hoping that someone out there may be able to help me out. I am trying to use string functions to extract the email address from a specific value that is preceded by something like:

[pp]=email address

It works in the majority of cases but in some cases the first letter of the email address is missing. I have tried using different approaches-- strpos, substr, strstr but the result is always the same.

Has anyone else experienced something like this. If so, please send me an email at mkschenk@cityu.edu.

Thank you,
Maria

re: problems with string manipulations

Have you tried using explode() using the = as the delimiter?

You might also want to take a look at the parse_str() function.