between

package module
v0.0.0-...-bd1e1a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2016 License: MIT Imports: 1 Imported by: 1

README

go-between Build Status Doc

get string between 2 strings

Installation

go get github.com/ddo/go-between

Usage

import . "between"

Between("hello world", "hel", "ld"); // => "lo wor"
Between("i'm so cool", "m", "oo"); // => " so c"
Between("world hello world", "hel", "ld"); // => "lo wor"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Between

func Between(str, start, end string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL