You need to sign in to do that
Don't have an account?
Ab
replace semicolon with double quote and comma
Hello,
I am trying to replace ; with ", "
I wrote below code ,jsonBody = jsonBody.replace(';','", "');
But in the string it alwyas appears the same
What can be the reason for the problem
I am trying to replace ; with ", "
I wrote below code ,jsonBody = jsonBody.replace(';','", "');
But in the string it alwyas appears the same
What can be the reason for the problem
Example:-
Use single quotes to encase the double quote!
SUBSTITUTE(Name,'"', '')
Just as you use double quotes to encase a single quote
SUBSTITUTE(Name,"'", "")
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
All Answers
jsonBody = jsonBody.replace(';',',');
Example:-
Use single quotes to encase the double quote!
SUBSTITUTE(Name,'"', '')
Just as you use double quotes to encase a single quote
SUBSTITUTE(Name,"'", "")
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.