Re: [PHP] easy spliting

2002-12-18 Thread 1LT John W. Holmes
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:

Re: [PHP] easy spliting

2002-12-18 Thread Philip Olson
You may want to provide more information like why is this string being split at these seemingly random points? Maybe there is a common separator or could be? But anyway it sounds like you want substr(). http://www.php.net/substr Regards, Philip Olson On Wed, 18 Dec 2002, Alex Ciurea