Download for Windows Premium
Advertising
string variable
/strɪŋ 'vɛə.ri.ə.bəl/
Definition
variable storing sequences of characters in programming  ... See more
variabilă de tip șir
șir n
variabilă șir
Lets see an example about declaring and initializing a string variable type
Să analizăm un exemplu referitor la declararea și inițializarea unei variabile de tip string
Second, we used the fully qualified path for the int and string variable declarations.
În al doilea rând, am folosit calea complet calificată pentru declarațiile variabilelor int și string.
In the above example, the string variable sir acts as a buffer to store the characters entered from the keyboard.
In exemplul de mai sus, variabila sir are rol de buffer pentru stocarea caracterelor introduse de la tastatura.
These texts must be placed between double quotation marks, and the reason for it will be explained when we will learn about the string variable type.
Aceste texte trebuie să fie plasate între ghilimele duble, iar motivul pentru acest lucru îl voi explica atunci când vom afla despre tipul de variabilă string.
And you also remember that for storing more than a single character, I said you will be using the string variable type.
Și vă mai amintiți și că pentru stocarea a mai mult de un singur caracter, am spus că vom folosi tipul de variabilă string (șir de caractere).
From the above example, you can see that we are checking our string variable against all days of the working week, writing various texts for each scenario, and a default one in case none of the checks return True.
Din exemplul de mai sus, se poate vedea că am verificat variabila noastră string față de toate zilele săptămânii lucrătoare, afișând diverse texte pentru fiecare scenariu, și un text implicit în cazul în care nici una dintre condiții nu returnează true.
The first line creates a string variable, and the second assigns to it the value from getHaterStatus() - and today the weather is rainy, so those haters are hating for sure.
Prima linie de cod creează o variabilă de tip string, și a doua linie îi atribuie acesteia valoarea funcției getHaterStatus() - Și astăzi plouă, deci haterii vor urî cu siguranță.
Whenever we needed to use that text (and even inspecting the Console.ReadLine() method signature), we needed to store that text in a string variable type... Read more
Ori de câte ori aveam nevoie să folosim acel text (și chiar inspectând semnătura metodei Console.ReadLine()), trebuia să stocăm acel text într-un tip de variabilă de de tip șir de caractere (string)... Read more
Print the third string variable on console. Solution
Afișați a treia variabilă la consolă. Soluție
Tags: indexof, lastindexof, string operations, string variable type, substring
Tags: indexof, lastindexof, operațiuni string, substring, variabila de tip string
By knowing that a string variable is just a collection of char variables, we can graphically visualize the above string variable as
Prin cunoașterea faptului că o variabilă de tip șir de caractere este doar o colecție de variabile char, putem vizualiza grafic variabila string de mai sus ca fiind
Since the compiler uses the quotation marks to understand where a string variable value begins and ends, adding quotation marks inside our string will make it believe that we meant to end the string value
Din moment ce compilatorul utilizează ghilimelele pentru a înțelege unde începe și unde se termină valoarea unei variabile string, adăugând ghilimele în interiorul șirului nostru va face compilatorul să creadă că am încercat să încheiem valoarea șirului
Size of string variable sir in number of bytes is given by the maximum number of elements specified in the declaration of the variable, 1000 bytes respectively.
Dimensiunea variabilei sir exprimata in numar de octeti este data de numarul maxim de elemente specificat la declararea variabilei, respectiv 1000 de bytes.
No results found for this meaning.

Synonyms and analogies of "string variable" in English

Word & Expression of the day
Image of the day
ashtray: small container for cigarette ash and butts
Reveal the word
Advertising

Results: 67. Exact: 15. Elapsed time: 41 ms.

Word index: 1-300, 301-600, 601-900

Expression index: 1-400, 401-800, 801-1200

Phrase index: 1-400, 401-800