in reply to Re: index using a rangein thread index using a range
$Index – index($Str1, ‘the first non-zero value’); [download]