Date: 01/06/01
- Next message: Jani Taskinen: "Re: [PHP-DEV] OpenSSL version requirements"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] php.net mlm & nntp synch"
- In reply to: Samuel Desramont: "[PHP-DEV] Very Simple for you !!! Getting part of a string"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] Very Simple for you !!! Getting part of a string"
- Reply: Derick Rethans: "Re: [PHP-DEV] Very Simple for you !!! Getting part of a string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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) ?
This is a developer list for development purposes only.
If you´ve general questions regarding use, installation and
configuration of PHP, please contact php-general <email protected> or
subscribe at php-general-subscribe <email protected>
The fastest way I guess is using $s[0].$s[1] (yes, it works with strings)
andré
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jani Taskinen: "Re: [PHP-DEV] OpenSSL version requirements"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] php.net mlm & nntp synch"
- In reply to: Samuel Desramont: "[PHP-DEV] Very Simple for you !!! Getting part of a string"
- Next in thread: Derick Rethans: "Re: [PHP-DEV] Very Simple for you !!! Getting part of a string"
- Reply: Derick Rethans: "Re: [PHP-DEV] Very Simple for you !!! Getting part of a string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

