How to use escape sequence
Question
Application Type
Reactive

Hi all,

how do we use escape sequence in outsystems, for example I want to display sandeep" as the output

I'm posting a sample dot net snippet


thanks in advance,

Sandeep.

Solution

You could use the BuiltIn function as follows:

Replace(Input,"""","'")


Hi @Sandeep K,

If I am understanding your question correctly, then the text value could be set as shown below using 3 double quotes at the end:

If the name is stored in a local variable, then you would use 4 double quotes as shown below:

Regards,

AJ

Hi @AJ. in addition to that how to replace all occurrences, like -  I would like to replace all " values from the input to ' .

thanks again.
Sandeep.

Solution

You could use the BuiltIn function as follows:

Replace(Input,"""","'")


and Replace will work for only for the first occurrence, is there any way to do it for all occurrences. 

It would work for all occurrences of the pattern specified. For e.g. 

If you are having any specific issues, feel free to send me the input text to see if there's something additional at play.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.