<br><br><div class="gmail_quote">On 27 October 2010 07:27, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5">On 10/27/2010 02:16 AM, dotnetdub wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Where is the best place to lookup documentation about working with<br>
variables.<br>
<br>
I come from the if len(x$)=y then<br>
<br>
                                     xxx<br>
                                     xxx<br>
                                     xxx<br>
<br>
                         End If<br>
<br>
<br>
  school!<br>
<br>
Looking for the best place to lookup documentation for checking<br>
characters, lengths of strings and removing or prepending stuff based<br>
on the results.<br>
</blockquote>
<br></div></div>
The best place to learn about types of variables and variable-related syntax and behaviour in general is the core cookbook:<br>
<br>
  <a href="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x</a><br>
<br>
This also describes many matching operations, operators for prepending, etc.<br>
<br>
More sophisticated string operations, such as selection of substrings, regular expression matching, component extraction, splitting into tokens by a delimeter, etc. are known as &quot;transformations.&quot;  They can be applied to most variables, and an examination of them is found here:<br>


<br>
  <a href="http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x</a><br>
<br>
If the question is more about which variables are defined/exposed in certain situations, the pseudovariables doc is most appropriate:<br>
<br>
  <a href="http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:3.1.x</a><br>
<br>
-- Alex<br></blockquote><div><br></div><div><br></div><div><br></div><div>Thank you for the excellent swift reply. Exactly what I required.</div><div><br></div><div>Regards</div><div>Brian</div><div> </div></div>