Improvement: replace using function for trims text