Module frameworks/string/sanitizeString
Functions
sanitizeString
- sanitizeString(str: string, camelize?: boolean): string
Parameters
str: string
camelize: boolean = true
Returns string
sanitizeStringPascalCase
- sanitizeStringPascalCase(str: string): string
Apply basic string sanitization, allowing letters, numbers, underscores, and dashes.