Z
zacks
I need to check the current value of a string value to see if it
either starts with or ends with a double quote character, as in
"123" (where the quotes are actual contens of the string). I thought a
quotation character inside of a string is specified with two double
quote characters. But when I code something like:
string myString;
if (myString.StartsWith(""""))
{
}
A syntax error of "Expecting )" is given.
How can I do this in C#.NET?
either starts with or ends with a double quote character, as in
"123" (where the quotes are actual contens of the string). I thought a
quotation character inside of a string is specified with two double
quote characters. But when I code something like:
string myString;
if (myString.StartsWith(""""))
{
}
A syntax error of "Expecting )" is given.
How can I do this in C#.NET?