String to convert
Optional
options: {Additional options
Optional
allowInitialNumbers?: booleanIf false, number prefix is removed.
Optional
allowUnderScore?: booleanIf false, underscore is removed.
Optional
allowUpperCase?: booleanDo not forcibly lowercase everything.
Optional
camelCase?: booleanAutomatic camel case
Optional
replacement?: string | FunctionReplacement for disallowed characters.
pf1.utils.createTag("Wizard of Oz 2"); // => "wizardOfOz2"
pf1.utils.createTag("Wizard of Oz 2", {camelCase:false}); // => wizardofoz2
pf1.utils.createTag("Wizard of Oz 2", {camelCase:false,allowUpperCase:true}); // => WizardofOz2
pf1.utils.createTag("d'Artagnan"); // => dartagnan
pf1.utils.createTag("d'Artagnan", {allowUpperCase:true}); // => dArtagnan
Creates a tag from a string.