[JAVA} String 클래스의 indexOf, contains, matches 메서드 비교
String 클래스에서 특정 문자열을 원하는 문자열로 치환하는 방법으로 replace()와 replaceAll(), replaceFirst() 메서드를 쓸 수 있다.문자열 내에 있는 모든 oldChar를 newChar로 변환한 문자열을 반환문자열 내에 있는 모든 tar