Hi All,
If I want to replace any string “” with " " what should be the expressions be like. For example, my original string is “Incident”.
I want as "Incident"
Hi All,
If I want to replace any string “” with " " what should be the expressions be like. For example, my original string is “Incident”.
I want as "Incident"
If you want your string to have “” inside sting you can use it like """Incident"""
Thanks,
Ashok ![]()
check this post
originalString.Replace("""", "\""")
Yes, the above solution will return you the required format. See:
Also, " is a escape sequence used in programming to display ". You cannot really replace it.
Thanks,
Ashok ![]()
Actually I am uploading JSON Data. There is an error in Incident word which is withing double quotes. If I replace with
the error resolvedIf your “Incident means” is fixed text, use stringVariable.Replace("Incident means","""Incident means""")
This should resolve your issue.
Thanks,
Ashok ![]()
@ashokkarale @rlgandu @lrtetala
Thanks everyone for your kind help. The below expression worked for me.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.