NSString *namesList = @"Elmo|Big Bird|Snuffy"; NSMutableString *finalSong = [NSMutableString string]; // Your code here! NSLog(@"%@", finalSong);
- You will probably need to use
componentsSeparatedByString:to accomplish this.
- Notice there are is a slight variance between verses – the first time it’s “He loves to sing”, the rest is “I love to sing.”
- Notice the ending also varies depending on whether it’s the first, middle, or final person.
- Wikipedia: UTF8 (nice explanation of how it works)
- Unicode character reference for the glyph “E” from “English” (0x45)
- Unicode character reference for the glyph “日” from “日本語” (0x304A)
- Unicode character reference for the glyph G clef
- An alternative Unicode character reference
- StackOverflow: NSString vs NSMutableString
- StackOverflow: UTF8 vs UTF16 vs UTF32
- Apple’s NSString documentation
- Apple’s NSString programming guide