9 lines
428 B
Markdown
9 lines
428 B
Markdown
---
|
||
title: Check the Length Property of a String Variable
|
||
localeTitle: Проверьте свойство длины переменной String
|
||
---
|
||
Структуры данных имеют свойства. Например, строки имеют свойство с именем `.length` , которое сообщит вам, сколько символов в строке.
|
||
```
|
||
lastNameLength = lastName.length;
|
||
|
||
``` |