How to get string characters count in swift 5

Solution:

In swift 4 we are using the below code to find the characters in a particular string

charactrers.count

In swift 5 we are using the below code

string.count

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift