Currently, one can only quote a string using single or double quotes, ' or " .
Sometimes, other characters may be needed, such as ` for variable names in cloudera's hadoop.
Let's go wild: while we are at it, the function could also be able to trim the quoted string.
A=quote(B, '`', 't');
Let's go wilder: we could make the function even more useful and allow symetrical symbols.
This enables different opening and closing characters, to make it easy to encase a string in brackets or parentheses.
A=quote(B, '<', 's');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.