I am stuck at …append those to a list of chars. Could you give me an additional suggestion?
/// Declare a variable for the input string and seperation characters.
string stringOriginal = null;
var stringList = new List<string>();
/// Check and store input values in the placeholders.
bool success1 = DA.GetData(0, ref stringOriginal);
bool success2 = DA.GetData(1, ref stringList);
/// Convert list of strings to array of characters
for (int i = 0; i < stringList.Count; i++)
Array chars = stringList[i].ToCharArray();
I was planning to check somehow that the input list contains single symbols, but I will do that after this.