First 30 characters of a strong

From: Date: Sun, 05 Oct 2008 18:52:51 +0000
Subject: First 30 characters of a strong
Groups: php.general 
Request: Send a blank email to php-general+get-281450@lists.php.net to get a copy of this message
How do I display the first 5 characters of a string? $string="abcdefghijklmnopqrstuvwxyz"; my desired output is abcde

« previous php.general (#281450) next »