I have a name that is just one string for example "LUKE CARROLL" and I want to split this string into first name and last name. So I just need to split the string where there is a space.
So I would end up with something like:
string FirstName = "Luke";
string LastName = "Carroll";
How do I do this?