2 posts tagged with “strings”

Slugify

slugify(text, maxLength) turns a title like Q3 Invoice — Acme Co. into q3-invoice-acme-co: lowercase letters, numbers, and single hyphens…