Service Desk Practitioners Forum
cancel

length of a variable in Javascript

Highlighted
Krish-SC
Outstanding Contributor.

length of a variable in Javascript

Hi,

Is there any function in SC Javascript that helps in finding the length of a variable ?
The variable is not an array but a field eg: update.action in incidents,etc.

I just need the total char count in the variable. Working on SC6.2

Regards,
Krish