0
how to identify characters in text as opposed to letters and whitespace in c#
4 odpowiedzi
+ 1
Thanks for your answer, but I'm already solved 😉
+ 1
as you said, I created an array where I put the characters and then used a for
0
There are lots of ways.
2 that come to me now:
You could create an array with all the special characters and include the whitespace, then check by iterating through the array.
You could look up what special functions/methods etc there are that might already check for letters only.
0
Great job! Maybe you could help others by writing what you did or what you thought about to do it.