Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a string that has the form 'a:b:' where 'a' and 'b' are both numbers. How do I drop the second colon, or convert it to // ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Breaking symmetry with a regex
by hippo (Archbishop) on Apr 13, 2021 at 22:57 UTC | |
Re: Breaking symmetry with a regex
by BillKSmith (Monsignor) on Apr 14, 2021 at 14:52 UTC | |
Re: Breaking symmetry with a regex
by syphilis (Archbishop) on Apr 13, 2021 at 23:21 UTC | |
Re: Breaking symmetry with a regex
by perlfan (Parson) on Apr 14, 2021 at 03:24 UTC | |
Re: Breaking symmetry with a regex
by Anonymous Monk on Apr 14, 2021 at 20:55 UTC | |
by perlfan (Parson) on Apr 15, 2021 at 00:12 UTC | |
Re: Breaking symmetry with a regex
by Anonymous Monk on Apr 14, 2021 at 00:28 UTC | |
by hippo (Archbishop) on Apr 14, 2021 at 08:20 UTC | |
by AnomalousMonk (Archbishop) on Apr 14, 2021 at 01:50 UTC | |
by perlfan (Parson) on Apr 14, 2021 at 03:27 UTC |