IsNumeric for iOS

What is the solution for IsNumeric("…") on iOS?

The command is not available and the forum posts for this are from 2015 (pre API 2.0).

Something like this

Public Function isNumeric(extends s As String) as Boolean
 #Pragma BreakOnExceptions False
   Dim i As Integer = Integer.FromString(s)
   Return True
Catch err As InvalidArgumentException
 Return False
End Function
1 Like

Thank you Jeremie

1 Like