Skip to main content
1 of 3
Carlos
  • 1.9k
  • 8
  • 36
  • 54

In this example I am using ; you can change that to whatever you are using to separate your string values.

string example = 'one;two;three'; List<String> list -= new List<String>(); for(String s : example.split(';')){ list.add(s); }

Carlos
  • 1.9k
  • 8
  • 36
  • 54