remove_quotes
- Синтаксис
-
native remove_quotes(text[]);
Переменная | Описание |
---|---|
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