P
Paul
hi, there,
I have a date format string, like $mydate='Wed Feb 1 17:33:20 2006';
I dont want to have the space and : in my string, so I use
$mydate =~ tr/[ ,:]/a/; to get a new string as
$mydate='WedaFebaa1a17a33a28a2006';
The question is how can I get rid all the "a" in this string? or how to
get $mydate='WedFeb11733202006' from $mydate='Wed Feb 1 17:33:20
2006'?
thanks.
I have a date format string, like $mydate='Wed Feb 1 17:33:20 2006';
I dont want to have the space and : in my string, so I use
$mydate =~ tr/[ ,:]/a/; to get a new string as
$mydate='WedaFebaa1a17a33a28a2006';
The question is how can I get rid all the "a" in this string? or how to
get $mydate='WedFeb11733202006' from $mydate='Wed Feb 1 17:33:20
2006'?
thanks.