characters - an instance property of String, is deprecated from with Xcode 9.1
It was very useful to get a substring from String by using the characters
characters