dacr / split

Collection of splitting algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

split License Build Status Maven Scaladex Codacy

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.

CsvSplit

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.

StringSplit

To convert a string into a collection of sub-strings while taking into account brackets, quotes, ...

FlowGroup

To convert a strings flow into a smaller one. For example to process multi-lines logs

KeyValSplit

To extract key values from a string. This is done in a smart way which allow the separator to be used inside values.

About

Collection of splitting algorithms

License:Other


Languages

Language:Scala 100.0%