Re: [PHP] just 10 characters from a string

2001-08-31 Thread Alexander Skwar
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

Re: [PHP] just 10 characters from a string

2001-08-31 Thread
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

RE: [PHP] just 10 characters from a string

2001-08-31 Thread Johan Vikerskog (ECS)
$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

[PHP] just 10 characters from a string

2001-08-31 Thread Marcos Lloret
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