Welcome to the Treehouse Community
Looking to learn something new?
Malthe Pedersen2,338 Points
Swift 2.0 string manipulation
What am I doing wrong?
// Enter your code below let name = "Malthe" let greeting = "Hi there, \(name)." let finalGreeting = "\(greeting) How are you?"
Chris Shaw26,650 Points
Unlike the first part of the challenge which asks you to create an interpolated string, the second part asks that you concatenate
finalGreeting which is achieved by using the plus
+ operator as shown below.
let finalGreeting = greeting + " How are you?"