So sprach »Marcos Lloret« am 2001-08-31 um 09:53:01 +0200 :
> i have a long string (about 255 characters) and i would like to show only 10.
>how can i do it?
substr
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.dig
From: Marcos Lloret <[EMAIL PROTECTED]>
Date: Fri, Aug 31, 2001 at 09:53:01AM +0200
Message-ID: <019701c131f1$f57bdfa0$371c94c1@mlloret>
Subject: [PHP] just 10 characters from a string
> hi to all,
> i have a long string (about 255 characters) and i would like to show on
$string=abcdefghijklmnopqrstuvxyz
$string = substr($string, 0, 10);
Thats all there is to it.
-Original Message-
From: Marcos Lloret [mailto:[EMAIL PROTECTED]]
Sent: den 31 augusti 2001 09:53
To: [EMAIL PROTECTED]
Subject: [PHP] just 10 characters from a string
hi to all,
i have
hi to all,
i have a long string (about 255 characters) and i would like to show only 10. how
can i do it?
thanks in advance,
marcos
4 matches
Mail list logo