Thanks to visit codestin.com
Credit goes to github.com

Skip to content

⚪️A project for practicing the implementation of open-source libraries.

License

Notifications You must be signed in to change notification settings

rlarjsdn3/String-Extension-Swift

Repository files navigation

String-Extension

SwiftPM Version License Platform

Usage

If you want to find a specific character in a string, you can code it as shown below:

let text = "John Appleseed"
text[3]             // Returns the Character "h"
text[safe: 9]       // Returns the Optional Character "l"
text[safe: 100]     // Returns the nil

Installation

Swift Package Manager

You can use The Swift Package Manager to install PTString-Subscript by addint the description to your Package.swift file:

dependencies: [
    .package(url: "https://github.com/rlarjsdn3/String-Extension-Swift", from: "0.1.0")
]

CocoaPods

pod "SwiftExtension"

Author

SOWOL-KIM, [email protected]

License

PTStringSubscript is available under the MIT license. See the LICENSE file for more info.

About

⚪️A project for practicing the implementation of open-source libraries.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published