<c:if test="${fn:length(companyNew.title)>'25'}">${fn:substring(companyNew.title,0,24)}...</c:if>
如果字符串长度大于25位,则显示0-24位之后用...表示
<c:if test="${fn:length(companyNew.title)<='25'}">${companyNew.title }</c:if>
如果长度不大于25位,则显示全部值。
<c:if test="${fn:length(companyNew.title)>'25'}">${fn:substring(companyNew.title,0,24)}...</c:if>
如果字符串长度大于25位,则显示0-24位之后用...表示
<c:if test="${fn:length(companyNew.title)<='25'}">${companyNew.title }</c:if>
如果长度不大于25位,则显示全部值。