validator

  1. stevel05

    B4J Code Snippet String Contains a Valid Number

    SubName: ValidNumber Description: A multi purpose number validator Private Sub ValidNumber(Str As String, Negative As Boolean, Decimal As Boolean) As Boolean If Str = "" Then Return False Dim RegexStr As StringBuilder RegexStr.Initialize If Negative Then RegexStr.Append("-?")...
Top