Mit dem slice-Filter können Sie einen Teil eines Arrays oder Strings ausschneiden und anzeigen.
You can cut and display a part of an array or string with the slice filter.
Die Funktion "sizeOf" gibt die Länge eines Arrays oder Strings als Zahl zurück.
The function "sizeOf" returns the length of an array or a string as a number.
Diese Technik wird häufig bei Formularen verwendet. Auch hierbei gilt dass die Werte am Ende wieder nur aus Arrays oder Strings bestehen.
This is often used for forms, however all values are still arrays or strings.
Wenn die Startzahl negativ ist, beginnt die Zählung vom Ende des Arrays oder Strings (so signiert z.B. -4 das zweite Element, also 2 im oben angeführten Beispiel).
If the starting number is negative, counting starts from the end of the array or string (e.g. -4 will sign the second element, which is 2 in the above example).
Liefert die Anzahl der Elemente in einem Array oder einem String.
In der grundsätzlichen MVC Serie, kann entweder ein Array oder ein String an setControllerDirectory(), oder ein Pfad an addControllerDirectory() übergeben werden.
In the basic MVC series, you pass either an array or a string to setControllerDirectory(), or a path to addControllerDirectory().
Man kann diese als String oder Array von Strings definieren.
Die 'replace'-Teile des Arrays können Strings oder Funktionsnamen sein.
The 'replace' parts of the array can be strings or function names.
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.