…e.g. String.Split(Delim As String).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, it is odd, have cursed at it myself several times. Equally odd is that the Split() overloads that take a string were not available in .NET 1.x. Well, odder perhaps. Maybe some “not too many overloads!” paralysis here. The StringSplitOptions and Count arguments can generate a combinatorial number of them.
Fix it with an extension method:
And add the ones you need if you also want to cover StringSplitOptions and Count 🙂