A

Admin • 833K Points
Coach

Q. Which method can be used to extract a section of a string?

  • (A) substring()
  • (B) split()
  • (C) join()
  • (D) parse()
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

substring() extracts characters from a string between two specified indices.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.