如何在java中将数字字符串转换为int?以及如何在java中拆分字符串?
问题描述:
引用一些代码或示例plss。
我尝试过:
我只是想尝试并想要发现新的plss
Cite some code or example plss .
What I have tried:
I just want to try and want to discover new plss
答
1)参见 Integer(Java Platform SE 8) [ ^ ]
1) See Integer (Java Platform SE 8 )[^]
int i = Integer.parseInt("666");
2) Java - String split()方法 [ ^ ]