Intermediate Ruby
Q78 / 100

What does "String#split(",")" return for the string "a,b,c"?

Correct! Well done.

Incorrect.

The correct answer is B) ["a", "b", "c"]

B

Correct Answer

["a", "b", "c"]

Explanation

split divides a string into an array of substrings based on the given delimiter, here producing ["a", "b", "c"].

Progress
78/100