字符串的截取使用下面哪个方法?()
A: endsWith()
B: isEmpty()
C: subString()
D: equals()
A: endsWith()
B: isEmpty()
C: subString()
D: equals()
举一反三
- 字符串的截取使用下面哪个方法? A: endsWith() B: isEmpty() C: subString() D: length()
- 从一个字符串中取出指定位置的字符,采用String类中的()方法。 A: charAt() B: endsWith() C: A、charAt()B、endsWith()C、indexOf()D、substring() D: indexOf()
- 从一个字符串中取出指定位置的字符,采用String类中的()方法。 A: charAt() B: endsWith() C: indexOf() D: substring()
- 截取字符串中的某个子串用() A: SUBSTRING B: REPLACE C: LOWER
- 下面()是String类提供的去掉字符串前后空格的方法。 A: trim() B: indexOf() C: equals() D: subString()