On Tue, 7 Dec 2004, Frank Westfield wrote:
> Sorry if what I said was not clear enough.
>
> I have a string of between 16 and 24 consecutive characters - no
> spaces or other non-alphanumeric characters which split can work on
> (as I understand split). I need to process each character and reo
Frank Westfield <[EMAIL PROTECTED]> wrote:
: I have a string of between 16 and 24 consecutive characters
: - no spaces or other non-alphanumeric characters which split
: can work on (as I understand split). I need to process each
: character and reorder the resulting manipulated characters
: into
At 23:48 06/12/2004, you wrote:
On Mon, 6 Dec 2004, Frank Westfield wrote:
> Is there a Perl equivalent of Java String.toArray method?
>
> I need to get an Alpha-Numeric string (16 plus consecutive characters)
> into an array or hash of characters to allow manipulation of the
> individual character
Dear Frank,
It is unlikely you need to work on each character individually. The regex
engine built in to perl is designed to do that hard work for you. What are
you trying to achieve?
In the event you DO need to work character by character, you could:
my @array = $string =~ /./g;
Or:
my @arr
On Mon, 6 Dec 2004, Frank Westfield wrote:
> Is there a Perl equivalent of Java String.toArray method?
>
> I need to get an Alpha-Numeric string (16 plus consecutive characters)
> into an array or hash of characters to allow manipulation of the
> individual characters. The use of substr to ext