List of utility methods to do String Parse
boolean | isIntegral(String str) is Integral if (str.startsWith("-")) { if (str.length() == 1) { return false; str = str.substring(1); if ((str.startsWith("0")) && (str.length() > 1)) { return false; ... |
boolean | isInt(String str) is Int try { Integer.parseInt(str); } catch (NumberFormatException nfe) { return false; return true; |
boolean | isNumeric(String str) is Numeric try { Double.parseDouble(str); } catch (NumberFormatException nfe) { return false; return true; |