toText

fun toText(string: String): Text

Using the state's line separator, create a Text instance from the given string.