单项选择题

在JavaScript 循环语句中,用来用于提取字符串中介于两个指定下标之间的字符的函数是()

A.indexOf
B.substring
C.charAt
D.lastIndexOf