StringEscape extension Null safety
- on
Properties
- isEscape → String
-
Converts the characters "&", "<", ">", '"', and "'" in string to their corresponding HTML entities.
Example: "hello & world" -> "hello & world"
read-only
- isEscapeRegExp → String
-
Escapes the RegExp special characters "^", "$", "", ".", "*", "+", "?", "(", ")", "
", "
", "{", "}", and "|" in string. Example: "hello ^ world" -> "hello ^ world"read-only