looking for a JSP tag that truncate text
Is there a ready-made JSP tag that truncate text to a given length, without breaking the word in the middle. instead find the next space. e.g: - text = "aaa bbb ccc" - truncated text to 5 = "aaa bbb..." - truncated text 开发者_开发技巧to 2 = "aaa..."
Cheers
Look at MMBase Library. These have such features
精彩评论