Hello,
Please read the documentation that comes with perl about the use of
split (perldoc -f split). Remember, split takes a regular expression as
the first argument, not a substring. To learn more about regular
expressions, perldoc perlre. Read about the usage of "*" and "+".
Hope this helps,,,
Aziz,,,
In article <[EMAIL PROTECTED]>,
"Marvin Bonilla" <[EMAIL PROTECTED]> wrote:
> Hello
...
> If you see the digits 24 are the second field using split(/ /,$s) where
> the white space is the separator, the problems begin when the digit is
> just one, thats mean from 1 to 9, the field become third because the
> split take a white space as the second field, that situation results in
> that i need to change the program every time the date change from 1 to 2
> digits to read correctly the fields.
...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]