In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Brian C. Doyle") wrote:
> I need to remove a comma from inside of 2 quotes ie "1,234.56" I need to
> change that to "1234.56"
> Unfortunatly I can not do reg_replace(",","","1,234.56");
Possibly because the function is called ereg_replace()
Doyle [mailto:[EMAIL PROTECTED]]
| Sent: Tuesday, March 06, 2001 12:08 PM
| To: [EMAIL PROTECTED]
| Subject: [PHP] removing and item out of a string
|
|
| Hello all,
|
| I need to remove a comma from inside of 2 quotes ie
| "1,234.56" I need to
| change that to "1234.56"
| Unfortu
I really suck with Regular expression but what if you did a replacement on
1, and replaced it with 1
2, and replaced it with 2
3, and replaced it with 3
Kind of a cheap workaround.
??
Rick
At 01:07 PM 3/6/01 -0500, Brian C. Doyle wrote:
>Hello all,
>
>I need to remove a comma from inside of 2 q
Hello all,
I need to remove a comma from inside of 2 quotes ie "1,234.56" I need to
change that to "1234.56"
Unfortunatly I can not do reg_replace(",","","1,234.56");
This is inside a csv file.
Brian C. Doyle
Coach Team Force
Earthlink Technical Support
[EMAIL PROTECTED]
4 matches
Mail list logo