Count function on JS column

Hi, I need to count the amount of characters in a column so I create a JS column with the string.lenght js function but it does not work…
Any help?

Hi @Rimatcom

return p1.length;

There’s also a built in column that does that for you.