Is there another way return the indices of every instance of a substring in an array besides old fashioned looping through indices?
$myarray = @(\'herp\',\'de