|
---
|
|
title: Check the Length Property of a String Variable
|
|
localeTitle: تحقق من الخاصية الطول من متغير سلسلة
|
|
---
|
|
هياكل البيانات لها خصائص. على سبيل المثال ، تحتوي السلاسل على خاصية تسمى `.length` والتي ستخبرك بعدد الحروف في السلسلة.
|
|
|
|
`lastNameLength = lastName.length;
|
|
` |