Re: easy spliting

From: Date: Wed, 18 Dec 2002 14:06:52 +0000
Subject: Re: easy spliting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128715@lists.php.net to get a copy of this message
Are there specific patterns associated with each range of numbers? If not, then just use a couple substr() calls to get what you want. That'll be the fastest method. Or you could use a regular expression like /(.{9})(.{26})(.{17))/ possibly. ---John Holmes... ----- Original Message ----- From: "Alex Ciurea" <alex@netonwave.com> To: "php mailing" <php-general@lists.php.net> Sent: Wednesday, December 18, 2002 8:57 AM Subject: [PHP] easy spliting Hi, I know it is easy but I can't figure how I should do I want to split a string from position 1 to 9, from 10 to 36, from 37 to 54 and so on... how can I do this? is there a function who does this? Regards, Alx

« previous php.general (#128715) next »