An open API service indexing awesome lists of open source software.

https://github.com/meniny/substring

Substring with without boilerplate, verbose and complex code.
https://github.com/meniny/substring

substring

Last synced: 9 months ago
JSON representation

Substring with without boilerplate, verbose and complex code.

Awesome Lists containing this project

README

          

:name: Substring
:author: Elias Abel
:author_esc: Elias%20Abel
:mail: admin@meniny.cn
:desc: a tiny library allows you to substring without boilerplate, verbose and complex code
:icon: {name}.png
:version: 1.1.0
:na: N/A
:ios: 8.0
:macos: 10.9
:watchos: 2.0
:tvos: 9.0
:linux: ✔
:xcode: 10.2
:swift: 5
:license: MIT
:sep: %20%7C%20
:platform: iOS{sep}macOS{sep}watchOS{sep}tvOS{sep}Linux
= Meet `{name}`
{author} <{mail}>
v{version}, 2018-05-17

[subs="attributes"]
++++


{name}



Author
EMail
MIT


Version
Platforms
Swift


Build Passing
Cocoapods
Carthage
SPM


++++

:toc:

== 🏵 Introduction

**{name}** is {desc}.

The strings management of `Swift` is one of the most painful feature ever:

[source, swift]
----
let string = "Substring API sucks!"
let start = string.index(string.startIndex, offsetBy: 1)
let end = string.index(string.startIndex, offsetBy: 6)
let substring = String(string[start..