Use the calculated prefix and suffix lengths to trim all of the options in the given array.
Array of option tuples: (human-readable text or image, language-neutral name).
The length of the common prefix.
The length of the common suffix
A new array with all of the option text trimmed.
Use the calculated prefix and suffix lengths to trim all of the options in the given array.