[Solved] Function for splitting by substring [closed]

[ad_1]

Try this :

string[] separators = {"<b>", "</b>", "\\n"};
string value = "Hi, my name is <b>Dan</b> and i need \\n to separate string";
string[] words = value.Split(separators, StringSplitOptions.RemoveEmptyEntries);

[ad_2]

solved Function for splitting by substring [closed]