수업시간 JAVA/이론

trim / toLowerCase/ toUpperCase/ replace

SEOKIHOUSE 2023. 4. 5. 15:43

1)trim (공백제거) ->좌우공백 제거해줌


2)toLowerCase - 모두 소문자로

3)toUpperCase - 모두 대문자


4)replace(바꿀항목, 바꿀내용)