I have some string like "Md. Monir-Uz-Zaman Monir", "Md. Monir-Uz-Zaman Monir01", "Md. Monir-Uz-Zaman Monir876" .... Now I want to take a substring from 20th position character to last. Actually I want output like "Monir","Monir01", "Monir876"... The full string is not fixed but 1st 19 character is fixed.
I have done it in swift 2. But what would be answer for swift 3.
let nameString = str.substringWithRange(Range<String.Index>(start: str.startIndex.advancedBy(19), end: str.endIndex.advancedBy(0)))