How to Take a string of comma separated values/names from the user.
Split the string into multiple sub-strings based on the commas.
And Add all these sub-strings to a list.
Know the answer? Post it. Somebody with the same question will find it here.

Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ankit SharmaRank #141 · 16.1K reputationPosted Oct 2, 2017, 11:36 PM EDT
Sandy BhardwajRank #7,584 · 238 reputationPosted Oct 2, 2017, 11:41 PM EDT