trimSegments

fun String.trimSegments(delimiter: String = "."): String(source)

Return

a string with no leading or trailing whitespace, and no whitespace before or after any instance of delimiter

Since

0.12.0