See perlre and perlretut for more information.$string =~ /.{30}/s;
If you didn't really mean to use regular expressions, see the length function.
In reply to Re: matching a defined lenght
by duff
in thread matching a defined lenght
by harryC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |