angerbeaver Posted August 20, 2010 Share Posted August 20, 2010 Hi all, I am using cURL to return some information. I turn that information into a string. Unfortunately the string when printed has a bullet point. I've been playing with urldecode and rawurldecode to try and get rid of it but then I am left with =%3CLI%3EInvalid+expiry+date%3Cbr% When all I want is Invalid expiry date The messages may vary though, and there could be more than one bullet point. Any suggestions would be great. Thanks, Quote Link to comment Share on other sites More sharing options...
Psycho Posted August 20, 2010 Share Posted August 20, 2010 What is the exact content of the original string? You would most likely want to use a regular expression to remove the unwanted characters. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.