private static boolean isSpace(char c) {
        return ( c >= 0x09 && c <= 0x0D ) || c == 0x20 ;
    }
Only works with non-negative numbers
main/src/main/java/cgeo/geocaching/wherigo/kahlua/stdlib/StringLib.java