Multiple choice

Which of the following string methods divides the string using the delimiter character passed?

  1. substring()

  2. split()

  3. anchor()

  4. charAt()

  5. length

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This string method divides the string using the delimiter character passed.