Use the Split method.
itemArray = itemString.Split('~')
HTH,
Sam
On Mon, 21 Mar 2005 11:59:36 -0500, "BobRoyAce"
<bo*@omegasoftwareinc.com> wrote:
Let's say I have a string sItemString = "item1~item2~item3" and a string
array asItemArray[]. In the VB world, I could use the Split function as
follows: asItemArray = Split(sItemString, "~") to split out the individual
items in the string into separate elements of the array. How could I do this
in C#?
B-Line is now hiring one Washington D.C. area VB.NET
developer for WinForms + WebServices position.
Seaking mid to senior level developer. For
information or to apply e-mail resume to
sam_blinex_com.