List of utility methods to do String Whitespace Check
boolean | isWhitespace(String text) is Whitespace boolean ret = true; char chTemp; String strTemp; boolean boolA, boolB, boolC; for (int i = 0; i < text.length(); i++) { boolA = false; boolB = false; chTemp = text.charAt(i); ... |
boolean | isWhitespace(int c) Tests if a code point is "whitespace" as defined in the HTML spec. return c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r'; |
boolean | isWhitespace(int c) Tests if a code point is "whitespace" as defined in the HTML spec. return c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r'; |