Merge pull request #1541 from AndrejMitrovic/Fix10951

Add doc note about EnumMembers returning duplicate member values.
Fixes Issue 9699 - Implement generic strip/stripLeft/stripRight functions which accept an element or a predicate.