5 lines
57 B
Swift
5 lines
57 B
Swift
|
|
let s = "1234"
|
||
|
|
if let x = Int(s) {
|
||
|
|
print("\(x + 1)")
|
||
|
|
}
|