matchSingleArrayParameter function

Match single array parameter from list based on the name instead of the index. If a match is found, its index is automatically copied.