Fixed trimLength still adding an ellipsis when the string matched the original string (due to non-word-cutting).