You need to sign in to do that
Don't have an account?
soa
How to concat special character to a string..
Hi ,
I am trying to Concat strings using Apex.
While concatinating a string with Special character '&' .. it is not taking '&'..
For eg..
String concat = ('http://webservices.amazon.com/onca/xml?Service=AWSECommerceService' + '&');
How do I cancat an & to a string..
Please help..
Regards
Diti
String s = 'abc'+'\&';
And the ampersand appears at the end of the string. Are you doing something else to the string after this?