This used to work in Xcode 6: Beta 5. Now I\'m getting a compilation error in Beta 6.
for aCharacter: Character in aString {
var str: String = \"\"
v
let original:String = "Hello"
var firstCha = original[original.startIndex...original.startIndex]
var str = "123456789"
let x = (str as NSString).substringWithRange(NSMakeRange(0, 4))
var appendString1 = "\(firstCha)\(x)" as String!
// final name
var namestr = "yogesh"
var appendString2 = "\(namestr) (\(appendString1))" as String!*
Another possible option is
var s: String = ""
var c: Character = "c"
s += "\(c)"