M

Mr. Dubey • 65.25K Points
Coach

Q. Which method is used to split a string into substrings based on a regular expression in Ruby?

  • (A) String#break
  • (B) String#segment
  • (C) String#split
  • (D) String#divide
  • Correct Answer - Option(C)
  • Views: 75
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics