Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
array of
Prin simpla adăugare a două paranteze drepte după tipul variabilei noastre, am spus compilatorului să creeze un array de acest tip.
By simply placing two square brackets after our variable type, we told the compiler to create an array of that type.
Dacă separator-ul este un string gol, str este convertit într-un array de caractere.
If separator is an empty string, str is converted to an array of characters.
De asemenea, putem efectua o tăiere multiplă, specificând un array de caractere pe care dorim să le eliminăm
We can also perform a multi character trimming, by specifying an array of characters that we want to remove
Alternativa mea a fost sa fac un array de "char" si apoi sa-i fac cast, dupa cum urmeaza
My alternative was to create an array of "char" and cast it, like this
Folosind [] indicăm faptul că vrem să declarăm un array de elemente, nu un singur element.
Using [] we are indicating that we want to declare an array of elements, not a single element.
Să presupunem că aveți un array de șase elemente, și doriți ca acestea să afișeze toate.
Lets say you have an array of 6 elements, and you want to display them all.
Pentru a folosi un input tabular, trebuie intai sa cream si sa populam un array de instante cu modelele respective, in functie ce trebuie sa facem, inserare sau actualizare de date.
To work with tabular input, we first need to create or populate an array of model instances, depending on whether we are inserting or updating the data.
Parametrii $attributes vor fi transmisi intr-un array de valori indexate dupa numele de coloana.
We let the $attributes parameters be an array of the values indexed by the column names.
Join() - îmbină împreună într-un singur șir de caractere elementele unei liste sau a unui array de caractere, utilizând un separator specificat.
Join() - merges together into a single string the elements of a list or array of strings, using a specified separator.
Proprietatea attributes este definita de catre CModel, care asteapta un array de perechi nume-valoare si care asigneaza fiecare valoare la atributul corespunzator al modelului.
The attributes property is defined by CModel which expects an array of name-value pairs and assigns each value to the corresponding model attribute.
Desigur, putem combina cele două exemple, deși acest lucru ar fi o complicație care crează un array de 20 de elemente de tip int și inițializează fiecare din elemente cu o valoare egală cu indexul elementului înmulțit cu 5.
EXERCISES 1. Write a program which creates an array of 20 elements of type integer and initializes each of the elements with a value equals to the index of the element multiplied by 5.
Desi sintaxa este asemanatoare cu cea a functiei apply(), diferenta fundamentala consta in faptul ca functia call() accepta o lista de argumente, in timp ce apply() accepta un singur array de argumente... Sintaxa
Note: While the syntax of this function is almost identical to that of apply(), the fundamental difference is that call() accepts an argument list, while apply() accepts a single array of arguments. Syntax
Pentru aceasta, putem folosi funcția Split(), care returnează un array de șiruri de caractere.
For this, we can use the Split() function, which returns an array of strings.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.