Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hiya Monks,
I have 3 strings $a = "December 14th 2012"; , $b = "December 21st 2012"; , $c = "December 22nd 2012"; I want to change it to a common format, means I want to delete the 'st', 'nd' & 'th'.
Dear Monks, I am not a seasoned Perl Programmer, so am asking your wisdom. Be Kind Monks.
Regards,
Whitefield.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: String manipulation
by toolic (Bishop) on Dec 15, 2012 at 03:28 UTC | |
by nvivek (Vicar) on Dec 17, 2012 at 05:28 UTC | |
Re: String manipulation
by Athanasius (Archbishop) on Dec 15, 2012 at 03:01 UTC | |
Re: String manipulation
by CountZero (Bishop) on Dec 15, 2012 at 13:02 UTC | |
by BillKSmith (Monsignor) on Dec 15, 2012 at 15:41 UTC | |
Re: String manipulation
by LanX (Saint) on Dec 15, 2012 at 13:54 UTC | |
Re: String manipulation
by AnomalousMonk (Archbishop) on Dec 15, 2012 at 13:42 UTC | |
Re: String manipulation
by Anonymous Monk on Dec 15, 2012 at 04:22 UTC | |
Re: String manipulation
by Anonymous Monk on Dec 15, 2012 at 04:37 UTC |
Back to
Seekers of Perl Wisdom