📜  java 获取子字符串 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:37.204000             🧑  作者: Mango

代码示例2
// substring(int begin, int end)
String n = "hello there general kenobi";
System.out.println(n.substring(6, 11));
// -> "there"