单选题

String类库成员函数中,从字符串中指定位置截取字符串的函数是?

A

indexOf()

B

substring()

C

endsWith()

D

findUntil()

赣ICP备20007335号-2