Added trim() to String class