330 B
330 B
title | localeTitle |
---|---|
Check the Length Property of a String Variable | Verifique a propriedade Length de uma variável de string |
Estruturas de dados possuem propriedades. Por exemplo, as strings têm uma propriedade chamada .length
que informa quantos caracteres estão na string.
lastNameLength = lastName.length;