Very Simple for you !!! Getting part of a string

From: Date: Sat, 06 Jan 2001 16:35:33 +0000
Subject: Very Simple for you !!! Getting part of a string
Groups: php.dev 
Request: Send a blank email to php-dev+get-43165@lists.php.net to get a copy of this message
Hi, I'd like to get the first two chars of the following string : 12:23:34|12-12-00 Which function do I have to use to get 12 (the first two chars) ? Many thanks, -- Samuel Desramont PageMédia ZI du château - rue Albert Einstein BP 17 - 62220 Carvin Tel: +33 (0)3 21 08 91 91 Fax: +33 (0)3 21 08 91 92 E-mail: desramont@pagemedia.fr

« previous php.dev (#43165) next »