I think that is what you are looking for.my $var = '503009496'; my $i = index($var, '5');
In reply to Re: Need a regular expression to check the first digit
by Anonymous Monk
in thread Need a regular expression to check the first digit
by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |