String Functions

I was trying to remove the \ from the string which is Json data that I getting from the any chart is there any method to do that ?
1 answers

Hi Virat,

You can save the data in a variable and then change the string by using the replaceAll function. In this case this would look something like:

replaceAll($JSONstring, ‘\’, ‘’). This will remove all \ from your string. Alternatively you can use replaceFirst.

Check this documentation for more info on string functions:


hope this helps!