Brad,<div>param.count is for URI parameters and can't be used for any old format. If your string was in URI param format, I think it would then work:</div><div><a href="http://www.opensips.org/Resources/DocsCoreTran16#toc36">http://www.opensips.org/Resources/DocsCoreTran16#toc36</a></div>
<div><br></div><div>I haven't used this transformation, but it appears you'd take the params off a URI and then use the transformations on the params themselves.</div><div><br></div><div>I think what I do to find out if I'm at the end is to use the "select' transformation and check the value of the return.</div>
<div><br></div><div>Alternatively, you *could* make the first element in your list the number of values to expect. Not sure if that's even an option in your case..</div><div><br></div><div>-Brett</div><div><br></div>
<div>
<br><br><div class="gmail_quote">On Sat, Jun 19, 2010 at 8:34 PM, Brad Bendy <span dir="ltr"><<a href="mailto:brad.bendy@benganetworks.com">brad.bendy@benganetworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi list,<br>
<br>
Ive got a AVP that gets a value from a memcached store, it's a set of<br>
integers separated by commas , ex: 4,34,1,10<br>
<br>
Is there a way to return the number of entries? In this case id like to<br>
have a 4 returned.<br>
<br>
I cannot get {param.count} to work, but im not sure if it works like<br>
this or maybe im just not using is right.<br>
<br>
Thanks for any help or suggestions<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>