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.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.