in reply to How to Remove Commas ?
The substitute command works really nicely here:
Regular expressions like these are one of Perl's strengths.# remove commas from $filesize string # =================================== $filesize =~ s/,//;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to Remove Commas ?
by allendevans (Initiate) on Mar 27, 2012 at 13:05 UTC | |
by johngg (Canon) on Mar 27, 2012 at 13:53 UTC | |
by tobyink (Canon) on Mar 27, 2012 at 14:06 UTC |
In Section
Seekers of Perl Wisdom