Skip to content

Challenge Check The Length Property Of A String Variable

Quincy Larson edited this page Aug 20, 2016 · 1 revision

Check the Length Property of a String Variable

Data structures have properties. For example, strings have a property called .length that will tell you how many characters are in the string.

lastNameLength = lastName.length;
Clone this wiki locally