quotemeta
Escape metacharacter set
quotemeta()
function adds a backslash before some predefined characters in the string.
Predefined characters:
Tip: This function can be used to escape characters with special meanings, such as ( ), [ ] and * in SQL.
Note: This function is binary safe.
quotemeta ( string )
parameter | describe |
---|---|
string | Required. Specifies the string to be checked. |