Skip to main content

Working with strings in swift

String Manipulation in Swift Language


Hello there !!! Welcome to my post about string manipulation in swift.The current post covers the latest swift 4 syntax as specified in the apple developer site. This post will show you all the necessary operations that we need to do at sometime while programming in swift. I hope you will find this post informative and useful. Happy coding :)

String Declaration:


String Concatenation:


Working with characters and substrings:


Strings Comparison:


Case Conversion in strings


Comments

Popular posts from this blog

Working with custom views in iOS using swift

The iOS sdk already has a wide collection of UIView subclasses to meet the needs of developer for developing eye-catching and elegant user interface. However, the default UI components provided in the iOS SDK are jus not enough sometimes. In that case, you can create your own UI components as required by writing your code on top of the sdk's classes i.e. UIView.