bgaber has asked for the wisdom of the Perl Monks concerning the following question:
If string is 'FBD' I want output to be F, B, D
I thought s/(\d)/$1,/g would work?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Insert comma after every character
by Ratazong (Monsignor) on Apr 21, 2010 at 13:45 UTC | |
Re: Insert comma after every character
by choroba (Cardinal) on Apr 21, 2010 at 13:52 UTC | |
Re: Insert comma after every character
by johngg (Canon) on Apr 21, 2010 at 14:01 UTC | |
Re: Insert comma after every character
by chuckbutler (Monsignor) on Apr 21, 2010 at 15:08 UTC | |
Re: Insert comma after every character
by Cristoforo (Curate) on Apr 21, 2010 at 20:35 UTC | |
Re: Insert comma after every character
by JavaFan (Canon) on Apr 21, 2010 at 14:18 UTC | |
by johngg (Canon) on Apr 21, 2010 at 16:12 UTC |
Back to
Seekers of Perl Wisdom