Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check if string is all numbers

if (str.All(char.IsDigit)) {
  // String only contains numbers
}
 
PREVIOUS NEXT
Tagged: #check #string #numbers
ADD COMMENT
Topic
Name
1+5 =