StringOptics

class Object
trait Matchable
class Any
object all.type
object all.type
object string.type

Value members

Concrete methods

def mkString(sep: String): Iso_[String, String, String, List[String]]

shows all elements of a collection in a string using a separator string

shows all elements of a collection in a string using a separator string

def split(regex: String): Traversal_[String, List[String], String, String]

splits this string around matches of the given regex

splits this string around matches of the given regex

def takeWords(i: Int): Traversal[String, String]

select the first n words of a string

select the first n words of a string

Concrete fields

final val stringToChars: Iso[String, List[Char]]

a monomorphic Iso from a string to a list of chars

a monomorphic Iso from a string to a list of chars

val words: Traversal[String, String]

fold over the individual words of a String

fold over the individual words of a String