Skip to content

Challenge Check the Length Property of a String Variable

SaintPeter edited this page · 1 revision
Clone this wiki locally

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;

Something went wrong with that request. Please try again.