RE: [PHP] String trunctaing

From: Date: Wed, 16 Aug 2000 13:25:57 +0000
Subject: RE: [PHP] String trunctaing
Groups: php.general 
Request: Send a blank email to php-general+get-11993@lists.php.net to get a copy of this message
Have you looked at substr? I think it will be something like $TruncatedString=substr ($ToTruncate, 0, 19); Check teh manual to make sure -----Original Message----- From: Glenn MacGregor [mailto:gtm@oracom.com] Sent: Wednesday, August 16, 2000 10:13 AM To: Php-General (E-mail) Subject: [PHP] String trunctaing Hi All, Is there an easy way to truncate a string at 20 chars for instance? -- Glenn MacGregor Director of Services Oracom, Inc. http://www.oracom.com Tel. +1 978.557.5710 Ext. 302 Fax +1 978.557.5716 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11993) next »