if (length $var == 30) { print "It is 30 characters long"; } else { print "It is not 30 characters long"; }
In reply to Re: matching a defined lenght
by Herkum
in thread matching a defined lenght
by harryC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |