Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check if string is only letters and numbers

if (textVar.All(c => Char.IsLetterOrDigit(c))) {
    // String contains only letters & numbers
}
 
PREVIOUS NEXT
Tagged: #check #string #letters #numbers
ADD COMMENT
Topic
Name
8+8 =