static private WrapIfEspecialsExist ( string s ) : string | ||
s | string | |
return | string |
static string WrapIfEspecialsExist(string s)
{
s = s.Replace("\"", "\\\"");
if (s.IndexOfAny(especials) >= 0)
return '"' + s + '"';
else
return s;
}