Issue #428 - TeamMentor Search feature: We need to implement TrimEnd function to avoid trailing characters

Unit tests to follow (shortly)