개발/코테 TIL
[Java] 문자열 한 글자씩 분리
서해쭈꾸미
2024. 5. 3. 00:41
문자열 한 글자씩 분리
split의 인자로 띄어쓰기 없이 ""만 넣어주면 한글자씩 분리가 된다.
String name = "ggumi";
name.split("");