What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
Parameter Position | Typ | Benötigt | Standard | Beschreibung |
---|---|---|---|---|
1 | boolean | Nein | false | Definiert ob Leerzeichen mitgezählt werden sollen. |
Wird verwendet um die Anzahl Buchstaben in einer Variable auszugeben.
Example 5.4. count_characters (Buchstaben zählen)
{$artikelTitel} {$artikelTitel|count_characters} {$artikelTitel|count_characters:true} AUSGABE: 20% der US-Amerikaner finden ihr Land (die USA) nicht auf der Landkarte. 61 72