I mainly agree with TedPride above: if it's fixed-length as it appears, just use substr. But if you want to use split, remember that the first argument is a regexp, not a string (everybody else in this thread seems to have forgotten): my $minute = (split /:|,/, $string)[4];or my $minute = (split /[:,]/, $string)[4];
In reply to Re: time string parsing question
by VSarkiss
in thread time string parsing question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |