From: Tilghman Lesher Date: Sun, 31 May 2009 17:52:28 +0000 (+0000) Subject: Fix documentation for FIELDQTY. X-Git-Tag: 11.0.0-beta1~4756 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba6f16d55faee2d740e57dfa358151905a6485e6;p=thirdparty%2Fasterisk.git Fix documentation for FIELDQTY. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198470 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_strings.c b/funcs/func_strings.c index b4f29b1325..de711f62f4 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -51,7 +51,12 @@ AST_THREADSTORAGE(result_buf); - Example: ${FIELDQTY(ex-amp-le,-)} returns 3 + The delimiter may be specified as a special or extended ASCII character, by encoding it. The characters + \n, \r, and \t are all recognized as the newline, + carriage return, and tab characters, respectively. Also, octal and hexadecimal specifications are recognized + by the patterns \0nnn and \xHH, respectively. For example, if you wanted + to encode a comma as the delimiter, you could use either \054 or \x2C. + Example: If ${example} contains ex-amp-le, then ${FIELDQTY(example,-)} returns 3.