Answers for "function that check if a char is in string c#"

C#
1

c# check if char is string

if (abc.ToLower().IndexOf('s') != -1) { }
Posted by: Guest on March-21-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 "function that check if a char is in string c#"

C# Answers by Framework

Browse Popular Code Answers by Language