String.substring(from,to)索引位置包含from,不包含to

String.substring(from,to)

子字符串包含from,不包含to,比如str.substring(0,str.length())

posted @ 2023-08-02 17:10  northli  阅读(26)  评论(0)    收藏  举报