Count username caracters

  • Thread starter Thread starter account8226
  • Start date Start date
A

account8226

Guest
Hello; I would like to know if there is a way to count username's number of chars.

For example, user called TOTO would have 4 chars, the return would be 4.

I tried {xen:raw $user.username.count} but it's not working.

Best regards :)
 
There are some string functions supported in the template syntax, but strlen() is not one of them. An addon is required for this.
 
Top Bottom