jsp截取字符串

<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> 

<td> ${fn:substring("xxxx",0,5)} </td>

 

posted @ 2016-01-25 14:54  星辰之力  阅读(1500)  评论(0编辑  收藏  举报