Increment on trim_word()

Used Dan’s version.