I'm trying to find a fast way to count the length of a variable (and
detect when the length exceeds a certain value)
All i've come up with so far is a regex, does anyone know of a
faster/better way to do this?


Heres my current approach:
!avp_check("$ci", "re/^.{1,128}$/g")


tavis

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to