This shows you the differences between two versions of the page.
pt:length [2016/01/01 22:48] |
pt:length [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Length ===== | ||
+ | ==== Formato ==== | ||
+ | length( //cadeia alfanumérica// | ||
+ | ==== Descrição ==== | ||
+ | Devolve o número de caracteres duma cadeia alfanumérica// | ||
+ | ==== Exemplo ==== | ||
+ | < | ||
+ | print length ("O rato roeu a rolha do garrafão do rei da Rússia" | ||
+ | </ | ||
+ | mostra | ||
+ | < | ||
+ | 48 | ||
+ | </ |