반응형




 


title1="hello world"

title2="쇼핑몰 중심 JSP입니다!"

str1="중심"



fn:length(title1)=${fn:length(title1)}

fn:toUpperCase(title1)= ${fn:toUpperCase(title1)}

fn:toLowerCase(title1)= ${fn:toLowerCase(title1)}


fn:substring(title1,3,6) = ${fn:substring(title1,3,6)}

fn:trim(title1) =${fn:trim(title1)}

fn:replace(title1, " ", " /")=${fn:replace(title1, " ","/") }


fn:indexOf(title2, str1)=${fn:indexOf(title2, str1)}

fn:contains(title1, str1)=${fn:contains(title1, str1)}

fn:contains(title2, str1) = ${fn:contains(title2, str1)}

반응형

'2020 > JSP SERVLET' 카테고리의 다른 글

JSP 파일 업로드 라이브러리 설치  (0) 2019.12.26
표현언어(EL)와 JSTL 회원 관리  (0) 2019.12.26
문자열 처리 함수  (0) 2019.12.26
formating tag lib 예제  (0) 2019.12.26
포매팅 태그 라이브러리 (fmt tag lib)  (0) 2019.12.26
블로그 이미지

꽃꽂이하는개발자

,