Mailinglisten-Archive |
--Boundary-2=_ZyiayAbJrQgepPxyJSTtYZUVldv
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
At 20.03.00 16:17 +0100, you wrote:
>Hallo Kai,
>=20
>> $string =3D "Das ist ein Test. Und sonst nix";
>> $foo =3D explode(". ", $string);
>> $string =3D $foo[0] . ".";
>
>Klappt nicht bei: "Am 28. M=E4rz ist Ostern. Oder auch nicht."
>Ergebnis: "Am 28."
>
>Gruss,
> Dirk
>
Hallo Dirk,
deine erste Mail war:
> Hallo!
>Ich m=F6chte einen String so bearbeiten, dass hinten alles bis zum ersten=
'.'
>abgeschnitten wird. Aus "Dies ist ein Test. Und noch einer" wird also "Dies
>ist ein Test."
Der obige Code liefert dir das gew=FCnschte Ergebnis.
Deine Erwiederung steht im Widerspruch zu deiner ersten Mail.
Was willst du??? =DCberdenke bitte deine Frage noch einmal.
und stelle bitte die entg=FCltige Fassung.
Michael
--Boundary-2=_ZyiayAbJrQgepPxyJSTtYZUVldv
Content-Type: Text/plain
Content-Transfer-Encoding: 7bit
This E
This E-mail message has been processed by Consus, the PKI enabled E-mail
encryption gateway.
For more information, please visit: http://www.viasec.com/products/index.html
FREE newsletter: http://www.viasec.com/register/
--Boundary-2=_ZyiayAbJrQgepPxyJSTtYZUVldv--
php::bar PHP Wiki - Listenarchive