string length

[/strɪŋ lɛŋθ/]
nounpl: string lengths
comprimento da string
1. The number of characters contained in a text string, including letters, numbers, spaces, and special characters
The string length of 'hello' is 5 characters.
O comprimento da string 'olá' é 3 caracteres.
2. In programming, a measurement of the size or extent of a sequence of characters stored in a variable or data structure
You need to check the string length before processing the user input.
Você precisa verificar o comprimento da string antes de processar a entrada do usuário.
3. The physical length of a tangible string or cord measured in units of distance
Measure the string length before cutting it for the project.
Meça o comprimento da corda antes de cortá-la para o projeto.
This term is primarily used in computing and programming contexts across both Brazilian Portuguese and English-speaking communities. In Brazil, technical professionals often use 'comprimento da string' or the English term directly ('length'), while formal documentation typically uses 'comprimento da string'. In Portugal, the more literal 'comprimento da cadeia de caracteres' is preferred in official contexts. The term reflects the global nature of software development where technical vocabulary often remains in English even when speaking Portuguese.
Synonyms / Sinônimos
character countstring sizetext lengthcharacter length

Regional Variations

General Brazilian
comprimento da string
Most common technical term in software development
General Brazilian
tamanho da string
Alternative term commonly used in informal contexts
Portugal
comprimento da cadeia de caracteres
More formal, literal translation preferred in Portugal
Technical Communities
length da string
Often kept in English even in Portuguese-speaking technical contexts

Related Words

stringcharactersubstringvariablefunctionprogrammingcoding

Related Idioms & Phrases

to measure string length
string length validation
maximum string length
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →