What is the result of the split function?
What is the result of the split function?
Question:
- {Blank,”0”,”0”}
- {“20”,”20”}
- {“0”,”0”}
- {“20”,”21”}
Answer
Options A is correct.
When you use the split function, it will take all the information before and after the split character and that can include nothing. Also the split character is dropped.