StringSchema.sanitize()method
sanitize(str: string): string
Sanitize the string by removing unwanted characters.
- Uses multiline sanitization when
rowsis greater than one, otherwise single-line sanitization. - Applies the configured
casefolding ("upper"or"lower") if set.