How do you substring a string in Swift?

You can get a substring from a string by using subscripts or a number of other methods (for example, prefix , suffix , split ) . You still need to use String. Index and not an Int index for the range, though. (See my other answer if you need help with that.)14 Kas 2017

Leave a Reply

Your email address will not be published. Required fields are marked *