Module: kamailio Branch: master Commit: c1e81dfa915f5c52da83cf02cbecdcf881eb057c URL: https://github.com/kamailio/kamailio/commit/c1e81dfa915f5c52da83cf02cbecdcf881eb057c
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2025-05-20T09:17:00+02:00 textops: docs for str_all_in() --- Modified: src/modules/textops/doc/textops_admin.xml --- Diff: https://github.com/kamailio/kamailio/commit/c1e81dfa915f5c52da83cf02cbecdcf881eb057c.diff Patch: https://github.com/kamailio/kamailio/commit/c1e81dfa915f5c52da83cf02cbecdcf881eb057c.patch --- diff --git a/src/modules/textops/doc/textops_admin.xml b/src/modules/textops/doc/textops_admin.xml index 86f02b97336..9560eb6d663 100644 --- a/src/modules/textops/doc/textops_admin.xml +++ b/src/modules/textops/doc/textops_admin.xml @@ -1955,6 +1955,29 @@ if (str_any_in("$hdr(X-Hdr)", ";',:")) { </example> </section> + <section id="textops.f.str_all_in"> + <title> + <function moreinfo="none">str_all_in(txt, clist)</function> + </title> + <para> + Return 1 (true) if all character in "clist" are found inside "txt". + Both paramters can contain variables. + </para> + <para> + This function can be used from ANY_ROUTE. + </para> + <example> + <title><function>str_all_in</function> usage</title> + <programlisting format="linespecific"> +... +if (str_all_in("$hdr(X-Hdr)", ".;-")) { + # do interesting stuff here +} +... +</programlisting> + </example> + </section> + <section id="textops.f.set_body_multipart"> <title> <function moreinfo="none">set_body_multipart([txt, content_type][, boundary])</function> _______________________________________________ Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org To unsubscribe send an email to sr-dev-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!