J juli Jan 2, 2005 #1 How to append a couple of strings into a string[] in a loop? Thanks a lot && good evening
C Ciaran Jan 2, 2005 #2 Try using an arraylist e.g: ArrayList al = new ArrayList(); al.Add("string1"); al.Add("string2"); al.Add("string3"); al.Add("string4"); al.Add("string5"); string[] mystrings = (string[])al.ToArray(typeof(string)); Ciaran
Try using an arraylist e.g: ArrayList al = new ArrayList(); al.Add("string1"); al.Add("string2"); al.Add("string3"); al.Add("string4"); al.Add("string5"); string[] mystrings = (string[])al.ToArray(typeof(string)); Ciaran
C Cor Ligthert Jan 2, 2005 #3 Juli, Assuming that is your question, the oposite methode from the Split is the Join http://msdn.microsoft.com/library/d...pref/html/frlrfsystemstringclassjointopic.asp I hope this helps? Cor
Juli, Assuming that is your question, the oposite methode from the Split is the Join http://msdn.microsoft.com/library/d...pref/html/frlrfsystemstringclassjointopic.asp I hope this helps? Cor