Take a string "i,am,in,,navgurukul" Iss string ko dual koma ke pass se split krna he so how to split this string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Take a string "i,am,in,,navgurukul" Iss string ko dual koma ke pass se split krna he so how to split this string

9th Jan 2019, 12:08 PM
swati joshi
2 Answers
+ 2
str = "I,am,in,,navgurukul" x = str.split(",,");
9th Jan 2019, 12:15 PM
Rishi Anand
Rishi Anand - avatar
- 1
don't now
9th Jan 2019, 12:09 PM
swati joshi