Javatpoint Logo
Javatpoint Logo

JSTL fn:substring() Function

The fn:substring() function returns the subset of a string. It is used to return the substring of given input string according to specified start and end position.

The syntax used for including the fn:substring() function is:

  • start: It is starting position of substring
  • end: It is end position of substring
  • inputstring: It is string from which a substring needed to be taken
  • Return type of the function: String

Let's see the simple example to understand the functionality of fn:substring() function:


JSTL Function Tags11

Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA