public class ZhengZe {

    public static void main(String[] args) {
        String b = "postData{1,2,3}";
        System.out.println(b+"\t"+b.length());
        b.substring(8);
        System.out.println(b.substring(8)+"\t"+b.substring(8).length());
    }
}

输出

postData{1,2,3}       15
{1,2,3}         7

相关文章:

  • 2021-06-27
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案