representing " in the string

I am having problems representing " in a string i.e The entire string should be " <?xml version = "1.0"?> "

Regards

ManX
manxAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
abdijConnect With a Mentor Commented:
Use \ before the ".
For example
"<?xml version = \"1.0\"?>"

Hope this is what you wanted
0
 
manxAuthor Commented:
Yep,
Exactly the answer I was looking for

Thanks and Regards

ManX
0
All Courses

From novice to tech pro — start learning today.