Answers for "how to determine if certain characters are present in a string c#"

C#
0

c# check characters in string

errorCounter = Regex.Matches(yourstring,@"[a-zA-Z]").Count;
Posted by: Guest on March-04-2021
-1

c# check characters in string

//true if it doesn't contain letters
bool result = hello.Any(x => !char.IsLetter(x));
Posted by: Guest on March-04-2021

Code answers related to "how to determine if certain characters are present in a string c#"

C# Answers by Framework

Browse Popular Code Answers by Language