public static String[] split(String text, char delimiter) {
        List<String> list = new ArrayList<>();
        return split(list, null, text, 0, text.length(), delimiter, null).toArray(new String[list.size()]);
    }
public static String [ ] split ( String text , char delimiter ) { List < String > list = new ArrayList < > ( ) ; return split ( list , null , text , 0 , text . length ( ) , delimiter , null ) . toArray ( new String [ list . size ( ) ] ) ; }
Splits a string around the specified character, returning the parts in an array.
However, any occurrence of the specified character enclosed between balanced parentheses/brackets/braces is ignored.

@param text a String
@param delimiter the character to split the string around
@return a String array containing the split parts