in reply to character conversion in a loop...
use split ('', $string) to return an array of characters.
use s/./g as the condtional of a while loop to match each character.
use substr for (1..length).
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: character conversion in a loop...
by blakem (Monsignor) on Aug 06, 2001 at 00:03 UTC | |
by John M. Dlugosz (Monsignor) on Aug 06, 2001 at 01:02 UTC | |
by blakem (Monsignor) on Aug 06, 2001 at 02:30 UTC | |
by John M. Dlugosz (Monsignor) on Aug 06, 2001 at 04:18 UTC | |
|
Re: Re: character conversion in a loop...
by snafu (Chaplain) on Aug 05, 2001 at 22:47 UTC | |
by John M. Dlugosz (Monsignor) on Aug 06, 2001 at 01:06 UTC |