Moved enumeration 'EndsToTrim' inside String class, closes #40.