freemarker截取字符串
[#if a.title?length lt 23 ]
${a.title}
[#else]
${a.title[0..22]}...
[/#if]
posted on 2016-05-28 17:01 nickTimer 阅读(1979) 评论(0) 编辑 收藏 举报
[#if a.title?length lt 23 ]
${a.title}
[#else]
${a.title[0..22]}...
[/#if]
posted on 2016-05-28 17:01 nickTimer 阅读(1979) 评论(0) 编辑 收藏 举报