← Back to Kairo Docs|API Reference (Dokka)

slugify

fun slugify(subject: String, delimiter: String): String

Like canonicalize, but joins words with the given delimiter instead of spaces.

slugify(" Con  | dãnas^t", delimiter = "-") // => "con-danast"