Update removeLTRM() and rename it to trim()