code: @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);
      }
docs: Splits the stringArray by the delimiter into an array of strings without ignoring the escaped delimiters
  
  @param stringArray the string to be split
  @param delimiter   the delimiter by which to split the stringArray
  @return an array of Strings