stringz

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 2 Imported by: 14

Documentation

Overview

Package stringz contains a set of utilities to deal with strings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitByCharAndTrimSpace added in v1.0.1

func SplitByCharAndTrimSpace(s, splitchar string) (result []string)

SplitByCharAndTrimSpace splits string by a character and remove spaces

func StringToSliceInt added in v0.0.7

func StringToSliceInt(s string) ([]int, error)

StringToSliceInt converts string to slice of ints

func TrimProtocol

func TrimProtocol(targetURL string) string

TrimProtocol removes the HTTP scheme from an URI

Types

This section is empty.

Jump to

Keyboard shortcuts

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