in reply to split issue

The following split should work nicely for you:

@a = split( /\s+/, $i) if ($i =~ /^[a-z]/i);

Jason L. Froebe

Team Sybase member

No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1

Replies are listed 'Best First'.
Re^2: split issue
by holli (Abbot) on Jan 02, 2005 at 06:20 UTC
    is "IN A" one or two items?
    if the first one is the case youŽll need to change /\s+/ to /\s\s+/ or /\s{2,}/.