Answers for "check specific character in string c#"

C#
2

c# get certain character from string

string myString = "string";
// outputs r
print(mystring[2]);
Posted by: Guest on December-05-2020
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 "check specific character in string c#"

C# Answers by Framework

Browse Popular Code Answers by Language