Montag, 25 August 2025

Top 5 diese Woche

Ähnliche Tutorials

Abschneiden

Dieser Schnipsel schneidet einen Text ab
Script:
<?php

$string = „Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua.“;

$teil = substr($string,0,70);
$teil2 = substr($teil, 0, strlen(strrchr($teil,‘ ‚))*(-1));
echo „$teil2“;
?>
Vorheriges Tutorial
Nächstes Tutorial

Hier etwas für dich dabei?