--- "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:
> >>>>> "Pedro" == Pedro A Reche Gallardo
> <[EMAIL PROTECTED]> writes:
>
> Pedro> How can I split a string of caracters -any but blank spaces-
> into
> Pedro> the individual caracters?
>
> my @chars = $string =~ /\S/g;
I've seen a couple of people doing this, and maybe I'm just confused,
but....
Isn't the point of the original request to split into the original
characters, but leave *out* the spaces?
and isn't \S any nonspace?
So, if you split on \S, won't it give you just the strings of
whitespace as the elements returned?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/