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 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) String#split