Skip to content
Math & Text toKebabCase

$toKebabCase — Converts text to kebab-case.

Converts text to kebab-case.

Syntax

$toKebabCase[text]

Parameters

  • text (text, required) — The text.

Return Value

  • string.

Usage

$toKebabCase[Hello big world] → "hello-big-world"

Example

$sendMessage[$toKebabCase[Hello big world]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.