[JAVA] split을 출력하고 싶을 때

[JAVA] split을 출력하고 싶을 때


String[] parsedFilePath = location.split("/")
System.out.println(parsedFilePath);
// 이상한게 나옴

Arrays.toString(parsedFilePath);
//제대로 나옴

댓글

이 블로그의 인기 게시물

[Python] # -*- coding: utf-8 -*-를 쓰는 이유

[소프트웨어공학] NS(Nassi-Schneiderman) 차트

[컴퓨터네트워크] Telnet이란?