in reply to Re: split empty (lead|trail)ing fields
in thread split empty (lead|trail)ing fields
i think u didnt get the point: i was just counting the splitted elemets
my @our_arguments_are_safe =split /:/, ':'; print scalar @our_arguments_are_safe;
is it ok?
$p = "::"; @m = ($p =~ /(:)/g);mm, why now do u count separators?
the 'no-code' question was:
why do split consider all empty fields as trailing when he find a list of two?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: split empty (lead|trail)ing fields
by BrowserUk (Patriarch) on Sep 27, 2003 at 12:35 UTC |