diff --git a/funcs/func_cut.c b/funcs/func_cut.c index f8bc4941ec..a0d508d575 100644 --- a/funcs/func_cut.c +++ b/funcs/func_cut.c @@ -75,6 +75,10 @@ Cut out information from a string (varname), based upon a named delimiter. + + exten => s,1,Set(foo=${CUT(bar,,2)}); This is correct syntax + exten => s,2,Set(foo=${CUT(${bar},,2)}); This is invalid syntax (unless bar contains the name of another variable) + ***/