Function String-Strip-Ending

Part of:

package kmrcl
( string-strip-ending < str > < endings > )