Reputation: 697
I have a string like this:
String s = "first link, second link, third link, fourth link"
I want to divide each in a separate string and put it in a list of strings like this:
List<String> s = ["first link","second link","third link","fourth link"]
how to do this?
Upvotes: 1
Views: 1145