Error in writing double quotes

Hi all,

I have in issue while writing a string in double quotes.

I have tried “”“UiPath”“”

And

Char(34)+“UiPath”+Char(34)

But when i write this it is showing invalid term char

I’m using C# here

My required output = “UiPath”

It should be in double quotes

@Learner007

Try this

"\"Uipath\""

Cheers

Hi @Anil_G how to pass a variable in between double quotes,if i write text it is working if i want to pass a variable means how to do

@Learner007

Try like this

"\"" + variable + "\""

Cheers

@Anil_G i have modified differently it worked thank you

1 Like

As it is C# we can use the prepended @ char for the verbatim string:
@"""UiPath"""

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.