>Hi everybody,
>
>I have some text which I'd like to use as a string variable in my tests. This text has many embedded double quotes. I checked that I can escape the double quote by doubling it and that's what I plan to do, but wondering if there is another more elegant solution?
>
>Thanks in advance.
Use another char for the double quote. Then replace()
string Input = @"^wordOne^ and ^wordtwo^".Replace('^', '"');
Gregory