You need to sign in to do that
Don't have an account?
How to convert the special charaters while working with SOAP services
Here is the example how I was getting a data from webservices with special character ( ' ) in string
String text = 'dlafdhfasdfsd ' dsdfsdfdsfsd' ;
How could I dynamically convert such special characters.
String text = 'dlafdhfasdfsd ' dsdfsdfdsfsd' ;
How could I dynamically convert such special characters.
You could use the escapeSingleQuotes method
Thanks pcon. It worked fine for this senario. Is there any other way to skip special charaters such "&,$,etc..," as I need to pass this values in the URL.
Then you'll want to use EncodingUtils