Answers for "how to check in string whether it has certain chars in the string in c#"

C#
1

c# check if char is string

if (abc.ToLower().IndexOf('s') != -1) { }
Posted by: Guest on March-21-2021
0

c# check characters in string

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

Code answers related to "how to check in string whether it has certain chars in the string in c#"

C# Answers by Framework

Browse Popular Code Answers by Language