Delete a string from a string array.
-
how to delete a string from a string array.
-
how to delete a string from a string array.
Have a look at String.Replace method but remember that it will delete all occurrences from the string
#region signature my articles #endregion
-
how to delete a string from a string array.
-
how to delete a string from a string array.
-
Hello, I would suggest to use the System.Collections.Specialized.StringCollection class instead. All the best, Martin
You can also use StringBuilder. It depends how many times you will use it
#region signature my articles #endregion
-
You can also use StringBuilder. It depends how many times you will use it
#region signature my articles #endregion
-
Hello, I would suggest to use the System.Collections.Specialized.StringCollection class instead. All the best, Martin
hello, Thanks my problem solved
-
how to delete a string from a string array.
You can't easily. You'd have to copy the array to a second array leaving out the string you don't want. Just use
List<string>
instead.Regards, mav -- Black holes are the places where God divided by 0...
-
hello, Thanks my problem solved