remove_quotes
native remove_quotes(text[]);
| Parameter |
Description |
| text | String to remove double-quotes from |
Removes double-quotes from the beginning and end of a string.
If the string only has a double-quote at either the start *or* the end,
and not both, the function will do nothing.
The function does not perform any trimming per-se. But if a
double-quote is found at the beginning of the string, it will remove
one ^r (carriage return) character at the end of the string if present,
even if no matching double-quote is found. This is for convenience.
1 if matching double-quotes have been removed, 0 otherwise