package moe.nea.firmament.util object StringUtil { fun String.words(): Sequence { return splitToSequence(" ") // TODO: better boundaries } fun parseIntWithComma(string: String): Int { return string.replace(",", "").toInt() } fun Iterable.unwords() = joinToString(" ") }