strings_utils

package
v0.6.80 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUrlPath

func CleanUrlPath(url string) string

func Contains

func Contains(s []string, str string) bool

func ContainsWord

func ContainsWord(s, word string) bool

func CountWords added in v0.6.79

func CountWords(s string) int

CountWords returns the number of words in a given string.

func EncodeURL

func EncodeURL(rawUrl string) string

func PrettyPrint

func PrettyPrint(i interface{}) string

print struct json format to console

func RemoveSlice

func RemoveSlice(slice []string, s int) []string

func ReverseString added in v0.6.79

func ReverseString(s string) string

ReverseString reverses a string and returns it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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