You need to sign in to do that
Don't have an account?
ndrannapareddy
How to add character PIPE , | in string Apex
Hi All,
I wanted to add Pipe in a string to send it make a webservice call . but Apex changes | to |
is there a way for me keep | as it is instead of changing the character.
Example :
String pipeString = 'Salesforce|Salesforce';
system.debug returns :
Salesforce|Salesforce
is there anyway i get aound this?
I wanted to add Pipe in a string to send it make a webservice call . but Apex changes | to |
is there a way for me keep | as it is instead of changing the character.
Example :
String pipeString = 'Salesforce|Salesforce';
system.debug returns :
Salesforce|Salesforce
is there anyway i get aound this?
Maybe you can decode it before you use it?
// Niklas