1:获取key值的长度
request.setAttribute(
"name"
,
"admin"
);
<p>${fn:length(name)}</p>
2:获取字串
request.setAttribute(
"title"
,
"斯蒂芬色粉电风扇"
);
<p>${fn:substring(title,0,10)}</p>