On 4/20/10 7:16 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:

  >  Does not make lot of sense in my opinion since it is very easy to do
  >  with substr:
  >
  >  head: {s.substr, 0, len}
  >  tail: {s.substr, -len, 0}
  >
  >  striptail requied computation of the length and use of that in substr,
  >  making it a bit too complex.

yes, striptail did, but strip is just {s.substr, len, 0}.
right, the discussion started about existing core functions with static parameters, so I added both.

Daniel

--
Daniel-Constantin Mierla * http://www.asipto.com/ * http://twitter.com/miconda * http://www.linkedin.com/in/danielconstantinmierla

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to