Added in 1.9.4

$findfilen

Returns the Nth position of the file that was found in a $findfile search.

Example

//echo -ag First log found was: $findfile($logdir,*.log,1) and it was found at position: $findfilen