var dogInt:UInt32=0x1F436
var chInt:UInt32=0x1F425
var heartInt:UInt32=0x2665
var dollarInt:UInt32=0x0024
var pinkInt:UInt32=0x1F496
let dog = UnicodeScalar(dogInt)?.escaped(asASCII: false)
let chicken = UnicodeScalar(chInt)?.escaped(asASCII: false)
let dollar = UnicodeScalar(dollarInt)?.escaped(asASCII: false)
let heart = UnicodeScalar(heartInt)?.escaped(asASCII: false)
let pink = UnicodeScalar(pinkInt)?.escaped(asASCII: false)
let someString = "I apper to be a string" //inferred to be of type String
//urlRequest.HTTPMethor = "POST"
let components = "~/Documents/Swift".components(separatedBy: "/") //["~", "Documents", "Swift"]
for character in "🐶🐱🐭🐹".characters {
print("\(character)")
}
let dog2 = "🐶"
let cow2 = "🐮"
var dogCow = dog2+cow2
//math operation
let a = 3, b = 5
let mathResult = "\(a) time \(b) is \(a*b)"
var varibleString = "Horse"
varibleString += " and carriage"
let constantString = "Highlander"