string-notation / de.joshuagleitze.stringnotation / NormalWords

NormalWords

object NormalWords : BaseStringNotation

Notation for words written like in normal language. Parsing will recognise all substrings that are separated by one or more characters of whitespace as a part. Printing will print the parts separated by one space.

Functions

printBeforeInnerPart

Allows to print characters in front of parts that are not the first part. The default implementation prints nothing.

fun printBeforeInnerPart(index: Int, part: String): String