Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

length of a variable in Javascript

Highlighted
Krish-SC
Frequent Visitor

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
//Add this to "OnDomLoad" event