Helper for efficiently splitting the input string.
Helper for efficiently splitting the input string. See StringSplit benchmark for
comparison with more naive approach. The string split method optimizes simple cases
with a single character so that it does not require compiling the regex. This method
uses a single character and does a simple trim
operation to cleanup the whitespace.
(Since version ) see corresponding Javadoc for more information.