String.prototype.slug >= 0.1.3

Purpose

Sluggify the string

Syntax

String#slug ( Stringseparator= - );

Parameters

separator

Return values

String

Examples

'This is a string, is it not?'.slug();>>> "this-is-a-string-is-it-not"

'There àre   spaçés and wEird signs in this  string!'.slug();>>> "there-are-spaces-and-weird-signs-in-this-string"