My result is a one string with the "\" separetor....
i use String.Join but the result is :
string s1= "abc\"def\"ghi\"; but it's wrong!
the right result must have s1 = "abc\def\ghi\";
thank's to all! i resolve my problem!
my wrong istruvtion is String s1= string.join("\"",foo) and this
concatenates a backshals and quotes but i must concatenates only a
backslash and the right istruction is String s1 = string.join("\
\",foo).
Actually that just concatenates quotes... but glad you are sorted ;-p
If you are doing a lot of this, the alternative syntax might be
clearer:
"\\" is the same as @"\";
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.