JSTL fn:substring() Function | Tutorial
Tutorial -- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
JSP Tutorial
JSP Tutorial JSP Introduction JSP Development Environment Setup Eclipse JSP/Servlet JSP Architecture JSP Life Cycle JSP Syntax JSP Directives JSP Action Elements JSP Implicit Objects JSP Client Request JSP Server Response JSP HTTP Status Codes JSP Form Processing JSP Filters JSP Cookie Handling JSP Session JSP File Uploading JSP Date Handling JSP Page Redirect JSP Hits Counter JSP Auto Refresh JSP Sending Email
JSP Advanced Tutorial
JSP Standard Tag Library (JSTL) JSP Database Access JSP XML Data Processing JSP JavaBean JSP Custom Tags JSP Expression Language JSP Exception Handling JSP Debugging JSP Internationalization
fn:substring() Function
The fn:substring() function returns a substring of a string between the specified start and end indices.
Syntax
The syntax for the fn:substring() function is as follows:
${fn:substring(<string>, <beginIndex>, <endIndex>)}
Example
The following example demonstrates the function:
Using JSTL Functions Generated substring is : ${string2}
The result is as follows:
Generated substring is : is first S
Click to Share Notes
Write notes...
Image URL
Image Description
Share Notes
- Nickname (Required)
- Email (Required)
- Reference URL
Category Navigation
- Python / Data Science
- AI / Intelligent Development
- Front-end Development
- HTML Tutorial
- HTML5 Tutorial
- CSS Tutorial
- CSS3 Tutorial
- JavaScript Tutorial
- HTML DOM Tutorial
- TypeScript Tutorial
- AJAX Tutorial
- JSON Tutorial
- Tailwind CSS Tutorial
- Bootstrap4 Tutorial
- Bootstrap5 Tutorial
- Foundation Tutorial
- Vue.js Tutorial
- Vue3 Tutorial
- React Tutorial
- Next.js Tutorial
- AngularJS Tutorial
- Angular Tutorial
- jQuery Tutorial
- jQuery UI Tutorial
- jQuery EasyUI Tutorial
- ECharts Tutorial
- Chart.js Tutorial
- Highcharts Tutorial
- Google Maps Tutorial
- SVG Tutorial
- Font Awesome Tutorial
YouTip