Skip to content

Instantly share code, notes, and snippets.

@Temidtech
Created April 23, 2018 13:48
Show Gist options
  • Save Temidtech/b5b44af86ca486c9d7282a5f85e869dc to your computer and use it in GitHub Desktop.
Save Temidtech/b5b44af86ca486c9d7282a5f85e869dc to your computer and use it in GitHub Desktop.
fun format(str: String,
normalizeCase: Boolean = true,
upperCaseFirstLetter: Boolean = true,
divideByCamelHumps: Boolean = false,
wordSeparator: Char = ' ') {
}
==================================
// Call function with named arguments.
format(str, normalizeCase = true, upperCaseFirstLetter = true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment