Re: [PHP-DB] String question

2004-12-14 Thread Jochem Maas
Chris Payne wrote: Hi there everyone, I am having to read a string with text in, but the way the DB is written in the same string you have the price, for example this doesn't sound like a DB problem, sounds more like a regexp problem. (i.e. php-db is probably the wrong list) CASARON 4G 50lb

[PHP-DB] String question

2004-12-14 Thread Chris Payne
Hi there everyone, I am having to read a string with text in, but the way the DB is written in the same string you have the price, for example CASARON 4G 50lb Sacks in Ton Lots $88.00 How can I strip out the 88.00 (Baring in mind it could be any number) into its own string?