slugify

Overview

Create a slug from a given string

Video Example

Arguments

  • text: The text that you want to create a slug.

  • separator: The separator that you want to use.

Expected Output

  • String: A new slug from a text

Text example

slugify("Random Path that i wAnt to convert to SLUG" , "-")
// random-path-that-i-want-to-convert-to-slug

Use cases

  • Create your URLs with Unlimited Sheets

Last updated