StringSplit

object StringSplit
class Object
trait Matchable
class Any

Type members

Classlikes

sealed trait SplitItem
case class SplitNode(children: List[SplitItem]) extends SplitItem
Companion
object
object SplitNode
Companion
class
case class SplitWord(content: String) extends SplitItem

Value members

Concrete methods

def defaultConcatCheck(current: String): Boolean
def defaultIsQuoted(ch: Char): Option[Char]
def defaultIsSeparator(ch: Char): Boolean
def defaultIsSubGroup(ch: Char): Option[Char]
final def split(line: String, maxcount: Int): Vector[String]

Smart space oriented string split that takes into account comma, quote, double quotes and brackets.

Smart space oriented string split that takes into account comma, quote, double quotes and brackets.

Value Params
line

the line to split into a vector a substrings

maxcount

max size for the results vector

Returns

vector of substrings

final def treezer(input: String, isSeparator: Char => Boolean, isQuoted: Char => Option[Char], isSubGroup: Char => Option[Char], concatCheck: String => Boolean): SplitItem

split a string into a tree of substrings

split a string into a tree of substrings

Value Params
input

the string to split

Returns

the tree of substrings

Deprecated methods

@deprecated("Use split method instead of tokenizer", "0.3.2")
final def tokenizer(line: String, maxcount: Int): Vector[String]

Smart space oriented string split that takes into account comma, quote, double quotes and brackets.

Smart space oriented string split that takes into account comma, quote, double quotes and brackets.

Value Params
line

the line to split into a vector a substrings

maxcount

max size for the results vector

Returns

substrings

Deprecated