Java
[Java] Splitting String and put it on int array
건복치
2020. 5. 6. 02:46
반응형
Splitting String and put it on int array
int[] intArray = Arrays.stream(input.split(","))
.mapToInt(Integer::parseInt)
.toArray();
https://stackoverflow.com/questions/8348591/splitting-string-and-put-it-on-int-array
반응형