Hi i am new to programming.
After I send a curl from asterisk dial plan
I get back from a api something like this :
0:1027301|pe_id:1027301|1:ko ben|NAME:ko ben|2:0555532963|PHONE2:0555532963|3:07711111|PHONE1:07711111|
i would like to set the variable just the number of phone 2
dont want use php or scripting
it is obvious you cant use the cut function !