ParseableStringList

com.phasmidsoftware.tableparser.core.parse.Parseable.ParseableStringList
See theParseableStringList companion object

Parser of StringList. This trait splits strings of the form {x,y,z}, regardless of the format specified by the RowConfig object.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def parse(s: String, optModifier: Option[String]): Try[StringList]

Parses the given string into a StringList, optionally applying a modifier.

Parses the given string into a StringList, optionally applying a modifier.

Value parameters

optModifier

an optional string modifier to influence the parsing logic.

s

the input string to parse.

Attributes

Returns

a Try[StringList] which is successful if parsing succeeds, otherwise a failure if the string cannot be interpreted as a StringList.