@ NotNull public static String [ ] toArrayWithEscaped ( @ Nullable final String stringArray , @ NotNull final String delimiter ) { if ( StringUtils . isEmpty ( stringArray ) ) { return new String [ 0 ] ; } return StringUtils . splitByWholeSeparatorPreserveAllTokens ( stringArray , delimiter ) ; }
Splits the stringArray by the delimiter into an array of strings without ignoring the escaped delimiters