Class SimpleStringTokenizer

    • Constructor Detail

      • SimpleStringTokenizer

        public SimpleStringTokenizer​(String subject,
                                     char delim)
        Gets the different part of a string which are separated by the delimiter.
        Parameters:
        subject - the string
        delim - the character to split at
    • Method Detail

      • split

        public static String[] split​(String subject,
                                     char delim)
        Splits the string at the delimiter character.
        Parameters:
        subject - the string to split
        delim - the character to split at
        Returns:
        the string split multiple times at the delimiter, trimmed of spaces