A utility function that slugify a string
The string to slugify
The delimiter to use for the slug
The slugified string
slugifyString('Hello world') // 'Hello-world' Copy
slugifyString('Hello world') // 'Hello-world'
slugifyString('Hello world', '_') // 'Hello_world' Copy
slugifyString('Hello world', '_') // 'Hello_world'
A utility function that slugify a string