RosettaCodeData/Task/Substring-Top-and-tail/Swift/substring-top-and-tail-3.swift
2023-07-01 13:44:08 -04:00

3 lines
103 B
Swift

var txt = "0123456789"
txt.removeAtIndex(txt.startIndex)
txt.removeAtIndex(txt.endIndex.predecessor())