Trims specific suffixes from the input string if present. The suffixes targeted for removal are 'Array', 'Arr', 'List', and 's'.
The input string to process and trim suffixes from.
The modified string with the suffix removed, or the original string if no suffix was found.
Trims specific suffixes from the input string if present. The suffixes targeted for removal are 'Array', 'Arr', 'List', and 's'.