toNumericOnly method

String toNumericOnly()

Extract numeric value of string Example: OTP 12312 27/04/2020 => 1231227042020ß If firstword only is true, then the example return is "12312" (first found numeric word)

Implementation

String toNumericOnly() => TransformUtils.numericOnly(this);