aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-31 17:53:34 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-31 17:53:34 +0000
commit4dab08e8a0114dbe5ab29c98766560310a9320a8 (patch)
treea181c84255e2db3fb6d06fb36c5125ad4c74f5e1 /funcs
parentc818f9ed397ac59e4eaca7455d84d5ff451e5fcc (diff)
Merged revisions 198470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r198470 | tilghman | 2009-05-31 12:52:28 -0500 (Sun, 31 May 2009) | 2 lines Fix documentation for FIELDQTY. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@198471 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_strings.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index cb8a98bea..e84629c38 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -51,7 +51,12 @@ AST_THREADSTORAGE(result_buf);
<parameter name="delim" required="true" />
</syntax>
<description>
- <para>Example: ${FIELDQTY(ex-amp-le,-)} returns 3</para>
+ <para>The delimiter may be specified as a special or extended ASCII character, by encoding it. The characters
+ <literal>\n</literal>, <literal>\r</literal>, and <literal>\t</literal> are all recognized as the newline,
+ carriage return, and tab characters, respectively. Also, octal and hexadecimal specifications are recognized
+ by the patterns <literal>\0nnn</literal> and <literal>\xHH</literal>, respectively. For example, if you wanted
+ to encode a comma as the delimiter, you could use either <literal>\054</literal> or <literal>\x2C</literal>.</para>
+ <para>Example: If ${example} contains <literal>ex-amp-le</literal>, then ${FIELDQTY(example,-)} returns 3.</para>
</description>
</function>
<function name="LISTFILTER" language="en_US">