// 方便自己看,代码非常不规范,请勿参考.
http://www.runoob.com/java/java-string.html
- 创建:
String s = “hello”;
- 字符串链接:
string1.concat(string2);
-
int indexOf(String str);
-
String substring (int beginIndex, int endIndex)
// 方便自己看,代码非常不规范,请勿参考.
http://www.runoob.com/java/java-string.html
String s = “hello”;
string1.concat(string2);
int indexOf(String str);
String substring (int beginIndex, int endIndex)