Jump to content
  • Advertisement
Sign in to follow this  
serratemplar

c# String.Split...where is it?

This topic is 3747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using System. I have Strings. But they seem to be lacking functionality? I've got Compare, CompareOrdinal, Concat, Copy, Empty, Equals, Format, Intern, IsInterned, IsNullOrEmpty, Join, and ReferenceEquals. But I do not seem to have Split. This is unfortunate, beause I would like to use Split instead of have to write my own code to do it. MSDN talks about Split like I should just see it there. It doesn't imply or suggest that anything needs be included. If it were a namespace issue, wouldn't I also be unable to use String? I am very confused. Where can I find Split? Has anyone seen this happen before? I'm using VS2005, if that matters.

Share this post


Link to post
Share on other sites
Advertisement
Nevermind, I'm a noob.

I was trying to access Split thus:

String.Split...

in hopes there was a Split-type constructor (that spit out not a String but an array of Strings...)

Yeah, when I say that outloud, it doesn't make sense to me either. I'm all set <3 thanks anyway.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!