Tags functions


Standard Syntax:
     <%@ taglib prefix="fn" uri="jakarta.tags.functions" %>

XML Syntax:
     <anyxmlelement xmlns:fn="jakarta.tags.functions" />

Tags 3.0 functions library

Tag Library Information
Display NameTags functions
Version3.0
Short Namefn
URIjakarta.tags.functions
 

Function Summary
booleancontains( java.lang.String, java.lang.String)Tests if an input string contains the specified substring.
booleancontainsIgnoreCase( java.lang.String, java.lang.String)Tests if an input string contains the specified substring in a case insensitive way.
booleanendsWith( java.lang.String, java.lang.String)Tests if an input string ends with the specified suffix.
java.lang.StringescapeXml( java.lang.String)Escapes characters that could be interpreted as XML markup.
intindexOf( java.lang.String, java.lang.String)Returns the index withing a string of the first occurrence of a specified substring.
java.lang.Stringjoin( java.lang.String[], java.lang.String)Joins all elements of an array into a string.
intlength( java.lang.Object)Returns the number of items in a collection, or the number of characters in a string.
java.lang.Stringreplace( java.lang.String, java.lang.String, java.lang.String)Returns a string resulting from replacing in an input string all occurrences of a "before" string into an "after" substring.
java.lang.String[]split( java.lang.String, java.lang.String)Splits a string into an array of substrings.
booleanstartsWith( java.lang.String, java.lang.String)Tests if an input string starts with the specified prefix.
java.lang.Stringsubstring( java.lang.String, int, int)Returns a subset of a string.
java.lang.StringsubstringAfter( java.lang.String, java.lang.String)Returns a subset of a string following a specific substring.
java.lang.StringsubstringBefore( java.lang.String, java.lang.String)Returns a subset of a string before a specific substring.
java.lang.StringtoLowerCase( java.lang.String)Converts all of the characters of a string to lower case.
java.lang.StringtoUpperCase( java.lang.String)Converts all of the characters of a string to upper case.
java.lang.Stringtrim( java.lang.String)Removes white spaces from both ends of a string.
 


Copyright © 2018, 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.