$Str1 = "000001"; $Index = index($Str1, [1-9]); print "$Index\n"; [download]
In reply to index using a range by romano