Package com.itextpdf.commons.utils
Class StringSplitUtil
java.lang.Object
com.itextpdf.commons.utils.StringSplitUtil
Utility class which splits string data to array by provided character.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]splitKeepTrailingWhiteSpace(String data, char toSplitOn) Splits string data to array by provided character.
-
Method Details
-
splitKeepTrailingWhiteSpace
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.
-