private static boolean isWhitespace(char c) {
        return c == ' ';
    }
Tokenizes strings on whitespace, but ignoring whitespace enclosed within quotes.
common/src/main/java/me/lucko/luckperms/common/command/utils/QuotedStringTokenizer.java