jsp页面截取字符串,显示指定长度

<c:if test="${fn:length(item.creditorName)>'15'}">${fn:substring(item.creditorName, 0, 15)}...</c:if>

posted @ 2017-09-01 17:19  L.大叔  阅读(2065)  评论(0编辑  收藏  举报