func_strings: Documentation fix for QUOTE()
authorRusty Newton <rnewton@digium.com>
Wed, 18 Dec 2013 00:36:54 +0000 (00:36 +0000)
committerRusty Newton <rnewton@digium.com>
Wed, 18 Dec 2013 00:36:54 +0000 (00:36 +0000)
Example output was inaccurate.

(issue ASTERISK-22970)
(closes issue ASTERISK-22970)
Reported by: Gareth Palmer
Patches:
   func_strings.patch uploaded by Gareth Palmer (license 5169)
........

Merged revisions 404081 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 404087 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 404099 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404100 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_strings.c

index 48fdaa8..1bd07d6 100644 (file)
@@ -353,7 +353,7 @@ AST_THREADSTORAGE(tmp_buf);
                        <parameter name="string" required="true" />
                </syntax>
                <description>
-                       <para>Example: ${QUOTE(ab"c"de)} will return "abcde"</para>
+                       <para>Example: ${QUOTE(ab"c"de)} will return ""ab\"c\"de""</para>
                </description>
        </function>
        <function name="CSV_QUOTE" language="en_US">