京东自营 618 + 国补 iPhone 历史最低价

Java 运动字符串法

创建一个字符串实例
实例源码:
源代码:
执行
执行中...
执行结果:
  • The string is: this is a test. this is a test. this is a test?
  • Length of this string: 48
  • The character at position 6: i
  • The substring from 26 to 32: test.
  • The index of the first 'a': 9
  • The index of the beginning of the substring "IBM": -1
  • The string in uppercase: THIS IS A TEST. THIS IS A TEST. THIS IS A TEST?
  •  
    本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。

    编辑于

    关注时代Java

    关注时代Java