What is Function Tag Library in JSP?
Functions Syntax | Description |
fn:contains() | Returns true if string contains the substring |
fn:containsIgnoreCase() | Returns true if string contains the substring,ignores case |
fn:endsWith() | Returns true if the string ends with a suffix |
fn:escapeXml() | Returns strings as it is that have special meaning in XML,converted to XML character entity code. |
fn:indexOf() | Returns index for the first occurence of substring. |
fn:join() | Returns strings from array with the given seperator. |
fn:length() | Returns the number of elements from a array or a collection,characters from a string. |
fn:replace() | Returns a string with the before strings with the after strings. |
fn:split() | Returns an array with element got by separating the string with the seperator. |
fn:startsWith() | Returns true if the string starts with the prefix. |
fn:substring() | Returns a string with begin index till the end index. |
fn:substringAfter() | Returns the part of the string after the substring. |
fn:substringBefore() | Returns the part of the string before the substring. |
fn:toLowerCase() | Returns the allcharacter of a string in lowercase. |
fn:toUppercase() | Returns the allcharacter of a string in uppercase. |
fn:trim() | Returns the string removing trailing and leading whitespaces. |