I have an `NSString` that contains a users full name. Some names are in the standard first and last formation (Kyle Begeman) and others are just a single name (TechCrunch).

How would I grab the first name as is and then the first initial of the last name, and if there is only one name, just grab the whole name?

Basically I want the above to be turned into Kyle B. or just TechCrunch depending on the name. 

```
NSString *username = @"Kyle Begeman"
NSString *otherUserName = @"TechCrunch"

converted to 

@"Kyle B" 

// No conversion because it is a single word name
@"TechCrunch" 

```

Using `substringToIndex` is how I can grab the first letter in the whole string, and I know there is a way to separate the string by `@" "` whitespace into an array but I can figure out how to easily produce the result the way it needs to be.

Any help would be great!