fn:sunbstring(java.lang.String, int, int)
Catégories:  [Ordinateurs et Électroniques] Posté par: Nathalie Vallieres
&lt;pre&gt;<br>&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;<br>&lt;%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %&gt;<br><br><br>&nbsp;&lt;var="string1" value="This is first String."/&gt;<br>&nbsp;&lt;var="string2" value="${fn:substring(string1, 5, 15)}" /&gt;<br>&nbsp;&nbs
;&nbsp; Final sub string : ${string2}<br>&nbsp;&nbsp;&nbsp; Final sub string : is first S &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&lt;/pre&gt;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>
Nathalie Vallieres