Check out example codes for "how to split a string by in c#". It will help you in understanding the concepts better.

Code Example 1

string[] tokens = str.Split(new[] { "is Marco and" }, StringSplitOptions.None);

Code Example 2

char[] separator = new[] { ',' };
var result = aiTranslatedString.Split(separator, StringSplitOptions.RemoveEmptyEntries).ToList();

Learn ReactJs, React Native from akashmittal.com