Sluggify

From UBot Studio
Revision as of 22:56, 28 June 2015 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function is an Advanced Text function in the UBot Extended Library. This function transforms text into an ascii slug which can be used safely in urls replacing by whitespaces, accentuated and special characters with a dash. Limited set of non-ascii characters are transformed into similar versions in the ascii character set such as ä to a.

Text to slugify: The text being slugified.

Example


alert($slugify("UBot Studio"))


Running the alert command slugifies the value from "UBot Studio" to "ubot-studio"

Slugify.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox