FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Linguagem \ Ambiente \ Bibliotecas \ Comparação
 
   
   
Back  
   
  Referência para Processing (BETA) version 91+. Se você tem uma versão anterior, utilize a documentação inclusa em seu software. Se você encontrar quaisquer erros ou tiver quaisquer comentários, leve ao nosso conhecimento.  
Class   String
   
Nome  

length()

   
Exemplos  
String str1 = "CCCP"; 
String str2 = "Rabbit"; 
int l1 = str1.length(); 
int l2 = str2.length(); 
println(l1 + ":" + l2);  // Prints '4:6' 

Descrição   Returns the total number of characters included in the string as an integer number.
Note: You find the size of an array with the length field which works a little differently from String's length() method.
   
Sintaxe  
charAt()
   
Retorno   int
   
Utilização   Web & Applicações
   
 
 






   
 
Original em inglês atualizado em: Fri Jul 15 16:36:11 PDT 2005
Tradução para o Português do Brasil: Luiz Ernesto Merkle
Atuallizada em: 30 de novembro de 2005, 9h00 (BRST)
 
 








Creative Commons License
 
  Processing é um projeto aberto iniciado por Ben Fry e Casey Reas  
  © Info