Remove the first six characters from a String (Swift)
length
is the number of characters you want to remove (6 in your case)
extension String { func toLengthOf(length:Int) -> String { if length <= 0 { return self } else if let to = self.index(self.startIndex, offsetBy: length, limitedBy: self.endIndex) { return self.substring(from: to) } else { return "" } }}