FIELDQTY(Variablenname
,Trennzeichen
)
exten => 123,1,Set(Var=hallo#du#da#am#telefon) exten => 123,n,Set(Anzahl=${FIELDQTY(Var,#)}) ; Anzahl ist 5
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'FIELDQTY' =-
[Syntax]
FIELDQTY(<varname>|<delim>)
[Synopsis]
Count the fields, with an arbitrary delimiter
[Description]
Not available
--- in Asterisk 1.2
+++ in Asterisk 1.4
@@ -1,7 +1,7 @@
-= Info about function 'FIELDQTY' =-
[Syntax]
- FIELDQTY(<varname>,<delim>)
+ FIELDQTY(<varname>|<delim>)
[Synopsis]
Count the fields, with an arbitrary delimiter
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -1,7 +1,7 @@
-= Info about function 'FIELDQTY' =-
[Syntax]
- FIELDQTY(<varname>|<delim>)
+ FIELDQTY(<varname>,<delim>)
[Synopsis]
Count the fields, with an arbitrary delimiter
CUT()
“