Created
September 9, 2015 04:09
-
-
Save tempire/8ade50cca44c4b3a491f to your computer and use it in GitHub Desktop.
swift substr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//let last6 = Range(start: advance(item.id.endIndex, -6), end: item.id.endIndex) | |
//label.text = item.id.substringWithRange(last6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment