func greetingMessage(name:String,message:String)->String{
return "Greeting message is \(message) for name\(name)"
}
The above code prints the message : "This was the message => , Greeting message is Hello for nameJohn"
println("This was the message => ",greetingMessage("John", message: "Hello"))
The problem here is the "," character. How do I modify this so that it doesn't appear in the output ?
Thanks.