Displaying 1 result from an estimated 1 matches for "martela".
Did you mean:
martell
2011 Apr 11
6
Variable stripping/removing part of string
Hi!
I try to get rid of some part of CALLERID(name) but I cant realy figure out a way to do it.
For example: CALLERID(name) = "Martela (fax)" I am just looking for the part before ? (? in my case ?Martela?.
I can?t serch for ? ?, could be many ? ?, but only one ? (?, thought i could do something like:
exten => 0424449631,n,NoOp(${CUT(CALLERID(name),\(,1):0:-1})
But that gave me ?Martela ? so my way of doing it is wrong....