forked from itext/itext-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support operations with empty formfield name
DEVSIX-7308
- Loading branch information
1 parent
9521edf
commit d8d330b
Showing
17 changed files
with
890 additions
and
81 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
commons/src/main/java/com/itextpdf/commons/utils/StringSplitUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.itextpdf.commons.utils; | ||
|
||
import java.util.regex.Pattern; | ||
|
||
public final class StringSplitUtil { | ||
|
||
private StringSplitUtil() { | ||
|
||
} | ||
|
||
|
||
public static String[] splitKeepTrailingWhiteSpace(String data, char toSplitOn) { | ||
return data.split(Pattern.quote(String.valueOf(toSplitOn)), -1); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.