Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
iiMMMMMMMMMMoooooooooooooooooooooooMMMMMMMMMMiiiiiiiiiiiiiiiiiiiiiiiii +iiiiiMMMMMMMMMMMMMooooooooooooooooooooo
My workaround through it would be first to get the substring of the string to see what the initial character is and then somehow use maybe index function to get the limits of the MMMMM parts (there can be more than one, it is not always 2). The only info we have is that the string may start with i or o and that i alternates to o, when there exist 'MMMM' parts between them.i3-12o36-45i76-88o
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to format such a string?
by rjt (Curate) on Jun 16, 2013 at 02:09 UTC | |
|
Re: How to format such a string?
by RichardK (Parson) on Jun 16, 2013 at 00:34 UTC | |
by Anonymous Monk on Jun 16, 2013 at 00:45 UTC | |
by RichardK (Parson) on Jun 16, 2013 at 14:04 UTC | |
|
Re: How to format such a string?
by Anonymous Monk on Jun 16, 2013 at 05:51 UTC | |
|
Re: How to format such a string?
by AnomalousMonk (Archbishop) on Jun 16, 2013 at 17:30 UTC | |
|
Re: How to format such a string?
by hdb (Monsignor) on Jun 17, 2013 at 07:47 UTC |