lddzjwwy has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, I have now a long binary string like $bin = 1001100010100001 and I want to change it to sth. like 1001 1000 1010 0001. What is the best way to achieve this? Thanks a lot.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Add space in long string
by toolic (Bishop) on May 28, 2013 at 12:22 UTC | |
by lddzjwwy (Novice) on May 28, 2013 at 12:26 UTC | |
Re: Add space in long string
by BrowserUk (Patriarch) on May 28, 2013 at 12:30 UTC | |
by Lotus1 (Vicar) on May 28, 2013 at 13:34 UTC | |
by lddzjwwy (Novice) on May 28, 2013 at 12:38 UTC | |
Re: Add space in long string
by jethro (Monsignor) on May 28, 2013 at 12:20 UTC | |
by lddzjwwy (Novice) on May 28, 2013 at 12:23 UTC | |
Re: Add space in long string
by choroba (Cardinal) on May 28, 2013 at 13:24 UTC | |
Re: Add space in long string
by johngg (Canon) on May 28, 2013 at 13:29 UTC | |
Re: Add space in long string
by hdb (Monsignor) on May 28, 2013 at 13:30 UTC |
Back to
Seekers of Perl Wisdom