---
title: 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;