Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

count_sentences (Sätze zählen)

Wird verwendet, um die Anzahl der Sätze in einer Variable zu ermitteln.

Example 5.6. count_sentences (Sätze zählen)


{$artikelTitel}
{$artikelTitel|count_sentences}

AUSGABE:

Zwei Deutsche haben die sogenannte "Painstation" vorgestellt. Bei Fehlern im Spiel wird der Spieler durch Elektroschocks aus der Konsole bestraft. Wer länger aushält, hat gewonnen. 
3