What's split function in Python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's split function in Python ?

21st Dec 2019, 7:25 PM
Yusof
Yusof - avatar
2 Answers
+ 9
It is a function that slices a string by the indices of appearances of a certain substring and puts all the slices in a list.
21st Dec 2019, 7:47 PM
Seb TheS
Seb TheS - avatar
+ 1
Thanks for helping me
23rd Dec 2019, 6:37 PM
Yusof
Yusof - avatar