strutil

package
v0.10.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 1 Imported by: 0

Documentation

Overview

Package strutil provide some functions to manipulation string.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Partition

func Partition(s string, c byte) (string, string)

Partition split string in 2 part.

Partition("1=2", '=') => "1", "2"
Partition("123", '=') => "123", ""

func Split

func Split(s string, c 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