Answers for "c# get only letters and numbers from string"

C#
6

c# check if string is only letters and numbers

if (textVar.All(c => Char.IsLetterOrDigit(c))) {
    // String contains only letters & numbers
}
Posted by: Guest on May-19-2020
0

c# take only int from string

resultString = Regex.Match(subjectString, @"\d+").Value;
Posted by: Guest on July-04-2021

Code answers related to "c# get only letters and numbers from string"

C# Answers by Framework

Browse Popular Code Answers by Language