SlideShare a Scribd company logo
SESSION – 12
By→ Anuj Kumar Singh
7. JSTL fn:startsWith() Function
The fn:startsWith() function test if an input string is started with the
specified substring.
Syntax
boolean fn:startsWith(String input, String prefix)
Example
a. newjsp.jsp
Output
8. JSTL fn:split() Function
The fn:split() function splits the string into an array of substrings. It is
used for splitting the string into an array based on a delimiter string.
Syntax
java.lang.String[] split(java.lang.String, java.lang.String)
Example
a. newjsp.jsp
Output
9. JSTL fn:toLowerCase() Function & JSTL fn:toUpperCase() Function
1. The fn:toLowerCase() function converts all the characters of a string
to lower case.
2. The fn:toUpperCase() function converts all the characters of a string
to upper case.
3. toLowerCase() is used for replacing any upper case character in the
input string with the corresponding lowercase character.
4. toUpperCase() is used for replacing any upper case character in the
input string with the corresponding lowercase character.
Syntax
fn:toLowerCase(String input)
fn:toUpperCase(String input)
Example
a. newjsp.jsp
Output
10. JSTL fn:substring() Function
1. 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.
2. Syntax
String fn:substring(String inputstring, int start, int end)
a. start: It is starting position of substring
b. end: It is end position of substring
c. inputstring: It is string from which a substring needed to be taken
d. Return type of the function: String
Example
a. newjsp.jsp
Output
11. JSTL fn:substringAfter() Function
1. The fn:substringAfter() function returns the subset of string followed
by a specific substring. It returns the part of string which lies after the
provided string value.
2. Syntax
String fn:substringAfter(String input, String afterstring).
Example
a. newjsp.jsp
Output
12. JSTL fn:substringBefore() Function
The fn:substringBefore() function returns the subset of string before a
specific substring. It is used for returning a part of original string which
lies before the specified string value.
Syntax
String fn:substringBefore(String input, String beforestring)
Example
a. newjsp.jsp
Output
13. JSTL fn:length() Function
1. The fn:length() function returns the number of characters inside a
string, or the number of items in a collection. It is used for
calculating the length of string and to find out the number of
elements in a collection.
2. Syntax
int length(java.lang.Object)
It returns the length of object. The return type of this function is int .
Example
a. newjsp.jsp
Output
14. JSTL fn:replace() Function
The fn:replace() function replaces all the occurrence of a string with
another string sequence. It search in an input string and replace it with
the provided string.
Syntax
String fn:replace(String input, String search_for, String replace_with)
It searches the search_for string in the input and replaces it with
replace_with string. In function three strings argument is used whose
return type is also string.
Note: It performs case sensitive processing.
Example
a. newjsp.jsp
Output
Jsp   session 12

More Related Content

What's hot

Advance python
Advance pythonAdvance python
Advance python
pulkit agrawal
 
Functions and modules in python
Functions and modules in pythonFunctions and modules in python
Functions and modules in python
Karin Lagesen
 
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and NimbleTDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
Jianbin LIN
 
Python Generators
Python GeneratorsPython Generators
Python Generators
Akshar Raaj
 
Introduction to Python
Introduction to Python  Introduction to Python
Introduction to Python
Mohammed Sikander
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
Mohammed Saleh
 
Python functions
Python functionsPython functions
Python functions
Aliyamanasa
 
Iterators and Generators
Iterators and GeneratorsIterators and Generators
Python functions
Python functionsPython functions
Python functions
Prof. Dr. K. Adisesha
 
Functions in python slide share
Functions in python slide shareFunctions in python slide share
Functions in python slide share
Devashish Kumar
 
C++ Functions
C++ FunctionsC++ Functions
C++ Functions
Jari Abbas
 
21 multi threading - iii
21 multi threading - iii21 multi threading - iii
21 multi threading - iii
Ravindra Rathore
 
Functions
FunctionsFunctions
Functions
zeeshan841
 
85ec7 session2 c++
85ec7 session2 c++85ec7 session2 c++
85ec7 session2 c++
Mukund Trivedi
 
Basic Javascript
Basic JavascriptBasic Javascript
Basic Javascript
Bunlong Van
 
Function
FunctionFunction
Dotnet programming concepts difference faqs- 2
Dotnet programming concepts difference faqs- 2Dotnet programming concepts difference faqs- 2
Dotnet programming concepts difference faqs- 2
Umar Ali
 
Python Session - 4
Python Session - 4Python Session - 4
Python Session - 4
AnirudhaGaikwad4
 
Python The basics
Python   The basicsPython   The basics
Python The basics
Bobby Murugesan
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
Mohammed Sikander
 

What's hot (20)

Advance python
Advance pythonAdvance python
Advance python
 
Functions and modules in python
Functions and modules in pythonFunctions and modules in python
Functions and modules in python
 
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and NimbleTDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
TDD - Test Driven Development in Swift (iOS) with Cuckoo, Quick and Nimble
 
Python Generators
Python GeneratorsPython Generators
Python Generators
 
Introduction to Python
Introduction to Python  Introduction to Python
Introduction to Python
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Python functions
Python functionsPython functions
Python functions
 
Iterators and Generators
Iterators and GeneratorsIterators and Generators
Iterators and Generators
 
Python functions
Python functionsPython functions
Python functions
 
Functions in python slide share
Functions in python slide shareFunctions in python slide share
Functions in python slide share
 
C++ Functions
C++ FunctionsC++ Functions
C++ Functions
 
21 multi threading - iii
21 multi threading - iii21 multi threading - iii
21 multi threading - iii
 
Functions
FunctionsFunctions
Functions
 
85ec7 session2 c++
85ec7 session2 c++85ec7 session2 c++
85ec7 session2 c++
 
Basic Javascript
Basic JavascriptBasic Javascript
Basic Javascript
 
Function
FunctionFunction
Function
 
Dotnet programming concepts difference faqs- 2
Dotnet programming concepts difference faqs- 2Dotnet programming concepts difference faqs- 2
Dotnet programming concepts difference faqs- 2
 
Python Session - 4
Python Session - 4Python Session - 4
Python Session - 4
 
Python The basics
Python   The basicsPython   The basics
Python The basics
 
Python Functions
Python   FunctionsPython   Functions
Python Functions
 

Similar to Jsp session 12

Strings
StringsStrings
Strings in Java
Strings in JavaStrings in Java
Strings in Java
Abhilash Nair
 
Day_5.1.pptx
Day_5.1.pptxDay_5.1.pptx
Day_5.1.pptx
ishasharma835109
 
String and string buffer
String and string bufferString and string buffer
String and string buffer
kamal kotecha
 
Java String
Java String Java String
Java String
SATYAM SHRIVASTAV
 
Header file.pptx
Header file.pptxHeader file.pptx
Header file.pptx
ALANWALKERPIANO
 
PHP Web Programming
PHP Web ProgrammingPHP Web Programming
PHP Web Programming
Muthuselvam RS
 
Java string handling
Java string handlingJava string handling
Java string handling
Salman Khan
 
javastringexample problems using string class
javastringexample problems using string classjavastringexample problems using string class
javastringexample problems using string class
fedcoordinator
 
functions- best.pdf
functions- best.pdffunctions- best.pdf
functions- best.pdf
MikialeTesfamariam
 
Scala functions
Scala functionsScala functions
Scala functions
Knoldus Inc.
 
A Prelude of Purity: Scaling Back ZIO
A Prelude of Purity: Scaling Back ZIOA Prelude of Purity: Scaling Back ZIO
A Prelude of Purity: Scaling Back ZIO
Jorge Vásquez
 
Tech talk
Tech talkTech talk
Tech talk
Preeti Patwa
 
05 c++-strings
05 c++-strings05 c++-strings
05 c++-strings
Kelly Swanson
 
package
packagepackage
package
sweetysweety8
 
String & path functions in vba
String & path functions in vbaString & path functions in vba
String & path functions in vba
gondwe Ben
 
SeriesTester.classpathSeriesTester.project SeriesT.docx
SeriesTester.classpathSeriesTester.project  SeriesT.docxSeriesTester.classpathSeriesTester.project  SeriesT.docx
SeriesTester.classpathSeriesTester.project SeriesT.docx
lesleyryder69361
 
Can anyone help me with 21 23 25 27 In C programming.pdf
Can anyone help me with 21  23 25 27 In C programming.pdfCan anyone help me with 21  23 25 27 In C programming.pdf
Can anyone help me with 21 23 25 27 In C programming.pdf
akshpatil4
 
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONSINTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
KalaivaniD12
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxing
Geetha Manohar
 

Similar to Jsp session 12 (20)

Strings
StringsStrings
Strings
 
Strings in Java
Strings in JavaStrings in Java
Strings in Java
 
Day_5.1.pptx
Day_5.1.pptxDay_5.1.pptx
Day_5.1.pptx
 
String and string buffer
String and string bufferString and string buffer
String and string buffer
 
Java String
Java String Java String
Java String
 
Header file.pptx
Header file.pptxHeader file.pptx
Header file.pptx
 
PHP Web Programming
PHP Web ProgrammingPHP Web Programming
PHP Web Programming
 
Java string handling
Java string handlingJava string handling
Java string handling
 
javastringexample problems using string class
javastringexample problems using string classjavastringexample problems using string class
javastringexample problems using string class
 
functions- best.pdf
functions- best.pdffunctions- best.pdf
functions- best.pdf
 
Scala functions
Scala functionsScala functions
Scala functions
 
A Prelude of Purity: Scaling Back ZIO
A Prelude of Purity: Scaling Back ZIOA Prelude of Purity: Scaling Back ZIO
A Prelude of Purity: Scaling Back ZIO
 
Tech talk
Tech talkTech talk
Tech talk
 
05 c++-strings
05 c++-strings05 c++-strings
05 c++-strings
 
package
packagepackage
package
 
String & path functions in vba
String & path functions in vbaString & path functions in vba
String & path functions in vba
 
SeriesTester.classpathSeriesTester.project SeriesT.docx
SeriesTester.classpathSeriesTester.project  SeriesT.docxSeriesTester.classpathSeriesTester.project  SeriesT.docx
SeriesTester.classpathSeriesTester.project SeriesT.docx
 
Can anyone help me with 21 23 25 27 In C programming.pdf
Can anyone help me with 21  23 25 27 In C programming.pdfCan anyone help me with 21  23 25 27 In C programming.pdf
Can anyone help me with 21 23 25 27 In C programming.pdf
 
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONSINTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
INTRODUCTION TO PYTHON PROGRMMING AND FUNCTIONS
 
Autoboxing and unboxing
Autoboxing and unboxingAutoboxing and unboxing
Autoboxing and unboxing
 

More from Anuj Singh Rajput

Web technology
Web technologyWeb technology
Web technology
Anuj Singh Rajput
 
Java script
Java scriptJava script
Java script
Anuj Singh Rajput
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)
Anuj Singh Rajput
 
Css
CssCss
Bootstrap
BootstrapBootstrap
Jsp session 13
Jsp   session 13Jsp   session 13
Jsp session 13
Anuj Singh Rajput
 
Jsp session 10
Jsp   session 10Jsp   session 10
Jsp session 10
Anuj Singh Rajput
 
Jsp session 9
Jsp   session 9Jsp   session 9
Jsp session 9
Anuj Singh Rajput
 
Jsp session 8
Jsp   session 8Jsp   session 8
Jsp session 8
Anuj Singh Rajput
 
Jsp session 7
Jsp   session 7Jsp   session 7
Jsp session 7
Anuj Singh Rajput
 
Jsp session 6
Jsp   session 6Jsp   session 6
Jsp session 6
Anuj Singh Rajput
 
Jsp session 5
Jsp   session 5Jsp   session 5
Jsp session 5
Anuj Singh Rajput
 
Jsp session 4
Jsp   session 4Jsp   session 4
Jsp session 4
Anuj Singh Rajput
 
Jsp session 3
Jsp   session 3Jsp   session 3
Jsp session 3
Anuj Singh Rajput
 
Jsp session 2
Jsp   session 2Jsp   session 2
Jsp session 2
Anuj Singh Rajput
 
Jsp session 1
Jsp   session 1Jsp   session 1
Jsp session 1
Anuj Singh Rajput
 
Servlet session 14
Servlet   session 14Servlet   session 14
Servlet session 14
Anuj Singh Rajput
 
Servlet session 13
Servlet   session 13Servlet   session 13
Servlet session 13
Anuj Singh Rajput
 
Servlet session 12
Servlet   session 12Servlet   session 12
Servlet session 12
Anuj Singh Rajput
 
Servlet session 11
Servlet   session 11Servlet   session 11
Servlet session 11
Anuj Singh Rajput
 

More from Anuj Singh Rajput (20)

Web technology
Web technologyWeb technology
Web technology
 
Java script
Java scriptJava script
Java script
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)
 
Css
CssCss
Css
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Jsp session 13
Jsp   session 13Jsp   session 13
Jsp session 13
 
Jsp session 10
Jsp   session 10Jsp   session 10
Jsp session 10
 
Jsp session 9
Jsp   session 9Jsp   session 9
Jsp session 9
 
Jsp session 8
Jsp   session 8Jsp   session 8
Jsp session 8
 
Jsp session 7
Jsp   session 7Jsp   session 7
Jsp session 7
 
Jsp session 6
Jsp   session 6Jsp   session 6
Jsp session 6
 
Jsp session 5
Jsp   session 5Jsp   session 5
Jsp session 5
 
Jsp session 4
Jsp   session 4Jsp   session 4
Jsp session 4
 
Jsp session 3
Jsp   session 3Jsp   session 3
Jsp session 3
 
Jsp session 2
Jsp   session 2Jsp   session 2
Jsp session 2
 
Jsp session 1
Jsp   session 1Jsp   session 1
Jsp session 1
 
Servlet session 14
Servlet   session 14Servlet   session 14
Servlet session 14
 
Servlet session 13
Servlet   session 13Servlet   session 13
Servlet session 13
 
Servlet session 12
Servlet   session 12Servlet   session 12
Servlet session 12
 
Servlet session 11
Servlet   session 11Servlet   session 11
Servlet session 11
 

Recently uploaded

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 

Recently uploaded (20)

Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 

Jsp session 12

  • 1. SESSION – 12 By→ Anuj Kumar Singh
  • 2. 7. JSTL fn:startsWith() Function The fn:startsWith() function test if an input string is started with the specified substring. Syntax boolean fn:startsWith(String input, String prefix)
  • 4. 8. JSTL fn:split() Function The fn:split() function splits the string into an array of substrings. It is used for splitting the string into an array based on a delimiter string. Syntax java.lang.String[] split(java.lang.String, java.lang.String)
  • 6. 9. JSTL fn:toLowerCase() Function & JSTL fn:toUpperCase() Function 1. The fn:toLowerCase() function converts all the characters of a string to lower case. 2. The fn:toUpperCase() function converts all the characters of a string to upper case. 3. toLowerCase() is used for replacing any upper case character in the input string with the corresponding lowercase character. 4. toUpperCase() is used for replacing any upper case character in the input string with the corresponding lowercase character. Syntax fn:toLowerCase(String input) fn:toUpperCase(String input)
  • 8. 10. JSTL fn:substring() Function 1. 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. 2. Syntax String fn:substring(String inputstring, int start, int end) a. start: It is starting position of substring b. end: It is end position of substring c. inputstring: It is string from which a substring needed to be taken d. Return type of the function: String
  • 10. 11. JSTL fn:substringAfter() Function 1. The fn:substringAfter() function returns the subset of string followed by a specific substring. It returns the part of string which lies after the provided string value. 2. Syntax String fn:substringAfter(String input, String afterstring).
  • 12. 12. JSTL fn:substringBefore() Function The fn:substringBefore() function returns the subset of string before a specific substring. It is used for returning a part of original string which lies before the specified string value. Syntax String fn:substringBefore(String input, String beforestring)
  • 14. 13. JSTL fn:length() Function 1. The fn:length() function returns the number of characters inside a string, or the number of items in a collection. It is used for calculating the length of string and to find out the number of elements in a collection. 2. Syntax int length(java.lang.Object) It returns the length of object. The return type of this function is int .
  • 16. 14. JSTL fn:replace() Function The fn:replace() function replaces all the occurrence of a string with another string sequence. It search in an input string and replace it with the provided string. Syntax String fn:replace(String input, String search_for, String replace_with) It searches the search_for string in the input and replaces it with replace_with string. In function three strings argument is used whose return type is also string. Note: It performs case sensitive processing.