By placing the . and the : into a character class (in the []), split will work on either one.my $json = "0.0"; my ($minutes, $seconds) = split(/[.:]/, $json);
In reply to Re: remove lending figures
by starX
in thread remove lending figures
by frank1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |