I have variable var str as following:
var str
var str = tea;
I would like to make it as below
You can escape characters in Javascript with the \. If that's your issue
\