I don't consider a quotation mark as a control character, but, yes, that
is a good alternative. :)
A curious thing about the ControlChars class, though, is that it has a
public constructor. Does anybody know why? An instance of the class is
totally useless, as all members that are not inherited from Object are
constants.
guy wrote:
use ControlChars.Quote, it is more readable (or at least i think so;-)
hth guy
"to******@gmail.com" wrote:
>If I want to search for a character within a sring, I normally use
x = myString.IndexOf("T")
However, what if I want to look for a quotation mark within the string?
I have tried
x = myString.IndexOf(""")
x = myString.IndexOf(")
x = myString.IndexOf(" " ")
and so on. Nothing works. How do I do this?