StringUtil - apache/ctakes GitHub Wiki
Some simple String processes are performed so frequently in nlp that it is good to have methods available that are faster than those in the jdk.
- Author: SPF , chip-nlp
- Version: %I%
-
Since: 5/16/2017
Splits a string using a character. Faster than String.split( regex )
-
Parameters:
-
linefull text to split -
ccharacter at which to split
-
- Returns: array of substrings or the original line if there are no characters c