Search

46. 문자열의 앞의 n글자

내 답안
class Solution { public String solution(String my_string, int n) { return my_string.substring(0,n); } }
Java
복사