Generated Substring : ${string2}
The output is as follows: Generated Substring : This is * * JSP Standard Tag Library](#)Jstl Function Substringbefore
# fn:substringBefore() Function
[JSP Standard Tag Library](#)
The fn:substringBefore() function returns the part of a string that precedes a specified substring.
### Syntax
The syntax for the fn:substringBefore() function is as follows:
${fn:substringBefore(, )}
### Example
The following example demonstrates the functionality of this function:
Using JSTL Functions
YouTip