Check out example codes for "flutter string split". It will help you in understanding the concepts better.

Code Example 1

var string = "Hello world!";
List<String> strings = string.split(" ");                      // ['Hello', 'world!'];

Learn ReactJs, React Native from akashmittal.com