new_learner1
new_learner1

Reputation: 5

Movlet Failing if double quotes exists in string

I have a string with double quotes for example:

"Diagnosed with "Covid19 -Ve"

while rendering in MEL variable it's failing.

My string may contains multiple double quotes in future.

How to escape if string contains all the double quotes in entire string value at the end in MEL

Upvotes: 0

Views: 48

Answers (1)

Inazense
Inazense

Reputation: 1724

you can escape the double quotes character using a backslash and then the double quotes. Just like this:

myVariable = "Diagnosed with \"Covid19 -Ve" ;

Upvotes: 0

Related Questions