Computer Science
Simple Javascript

Question Description

How do I find the number of characters of a string variable in javascript?Submit

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

Try variable.size or string.length, but obviously use your variable names instead of variable or string!

CBell (24)
Rice University

Anonymous
I use Studypool every time I need help studying, and it never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4