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

https://github.com/reddec/chop-text

Golang library - Chop string into slices
https://github.com/reddec/chop-text

go golang string-manipulation

Last synced: 10 months ago
JSON representation

Golang library - Chop string into slices

Awesome Lists containing this project

README

          

# Chop string

Very simple library to chop string to slice

Examples:

```go
ch:=Chopper{Slices: 3, Sep: '/', SliceSize: 3}
println(ch.Chop("abcdefxyz123"))
// will print: abc/def/xyz123
```

[Documentation](http://godoc.org/github.com/reddec/chop-text)