I have a datacolumn, which I would like to split e.g.
ALICE MEGAN JANET
split to: ALICE, MEGAN, JANET
I know I can do it with for loops but I'd like to know if there's any built-in functions in .Net Framework. Thanks.
EDIT: My question is not clear. Let me try to re-articulate:
I have a datacolumn i.e. one column of many rows of names in this context:
datarow[0]["name"] = ALICE
datarow[1]["name"] = MEGAN
datarow[2]["name"] = JANET
I'd like to know what's the most elegant way to split this column of names into a string of format: ALICE, MEGAN, JANET
What do I need it for: I will use this format in a where clause query.
I'm using .Net C# 2.0