Asterisk Project : Function_FIELDQTY

Asterisk Project : Function_FIELDQTY This page last changed on Mar 30, 2011 by wikibot. # FIELDQTY() ### Synopsis Count the fields with an arbitrary delimiter ### Description 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. ### Syntax
    FIELDQTY(varname,delim)
##### Arguments `varname` `delim` ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42