simply like so:
#!/usr/bin/perl use warnings; use strict; my $f = 'chap 89.9'; if($f=~m/chap\s+?(\S+)/) { print " $1 \n", scalar @{[split//,$1]} -1; }
In reply to Re: how to split full digit number?
by Anonymous Monk
in thread how to split full digit number?
by virudinesh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |