[OpenSIPS-Users] Selecting from a variable with \n as separator

David Villasmil david.villasmil.work at gmail.com
Sun Mar 1 12:28:17 EST 2020


Not sure, try with \\n instead of \n

On Sun, 1 Mar 2020 at 12:08, Saint Michael <venefax at gmail.com> wrote:

> Could you post an example? I have no idea?
>
> On Sun, Mar 1, 2020, 4:54 AM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>>
>> Have you tried scaping it?
>>
>> On Sun, 1 Mar 2020 at 03:10, Saint Michael <venefax at gmail.com> wrote:
>>
>>> I am executing an external application that sends back a '\n' and
>>> garbage after the end of the useful information. I am trying to select my
>>> piece using this:
>>> $var(new_ani)=$(var(new_anix){s.select,0,\n});
>>> but it does not work. How can I do this?
>>> Philip Orleans
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200301/d9f023dd/attachment-0001.html>


More information about the Users mailing list