4 lines
62 B
Swift
4 lines
62 B
Swift
let s = "1234"
|
|
if let x = s.toInt() {
|
|
println("\(x + 1)")
|
|
}
|
let s = "1234"
|
|
if let x = s.toInt() {
|
|
println("\(x + 1)")
|
|
}
|