i wish to replace/substitute "[", "]" with " " in string received below
""param":[{"key1":"value1","key2":"value2"}, {"key3":"value3","key4":"value4"}]"
substitute(""param":[{"key1":"value1","key2":"value2"}, {"key3":"value3","key4":"value4"}]","["," ")
substitute(""param":[{"key1":"value1","key2":"value2"}, {"key3":"value3","key4":"value4"}]","]"," ")
I am receiving the below error
can someone help me understand the error here.
Discussion posts and replies are publicly visible
Hi Teja,
It is because you are using "" multiple times in the string that you have used in substitute() function,
If you will modify your text parameter like the below one. Then it works fine
substitute("param:[{key1:value1,key2:value2}, {key3:value3,key4:value4}]","["," ")