$1 is now equal to "t" hence the answer he was looking for. TrAdEz Awwww the power of perlre$fname = 'thomas'; $fname =~ /^(\w{1})/;
In reply to Re: Re: splitting a word
by tradez
in thread splitting a word
by chriso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |