character count in a field

How do I count the characters in a field?

so let’s say the field is: goodbye all

it must return: 11 (incl. the space!)

I can’t find it anywhere!

var x = field_name.length;

It’s at the top of the JS Lib/String functions list. I was using it before I knew where it was so when I did notice that it was there, I was pleasantly surprised.

  • david

ah thanks! should have known! :oops: