Give the output of the following snippet:
Name= “Split-this-string”
Name.split(“-”)
a. [“Split”, “this”, “string”]
b. Split, this, string
c. [“Split-“, “this-“, “string”]
d. Split this string
Answers
Answered by
0
a. [“Split”, “this”, “string”]
Similar questions
Social Sciences,
6 months ago
English,
6 months ago
Math,
6 months ago
Science,
11 months ago
French,
11 months ago
Computer Science,
1 year ago