Class StringSplitUtil

java.lang.Object
com.itextpdf.commons.utils.StringSplitUtil

public final class StringSplitUtil extends Object
Utility class which splits string data to array by provided character.
  • Method Details

    • splitKeepTrailingWhiteSpace

      public static String[] splitKeepTrailingWhiteSpace (String data, char toSplitOn)
      Splits string data to array by provided character.
      Parameters:
      data - data to split.
      toSplitOn - character by which data will be split.
      Returns:
      array of string which were split.