split library is a collection of various text based splitting algorithms designed for high performances
In your build.sbt, add this :
libraryDependencies += "fr.janalyse" %% "split" % version
For usage example, take a look to unit test cases.
To split csv lines into cells using the specified
separator (,
by default). It supports content such as
truc, blah, "bouh, bah"
which contains 3 cells.
To convert a string into a collection of sub-strings while taking into account brackets, quotes, ...
To convert a strings flow into a smaller one. For example to process multi-lines logs
To extract key values from a string. This is done in a smart way which allow the separator to be used inside values.