str

package module
v0.0.0-...-49743ad Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 4 Imported by: 0

README

go-str

Helper functions for handling strings in Go.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Center

func Center(str string, width int) string

func CenterCustom

func CenterCustom(str string, width int, leftFill string, rightFill string) string

func IsAlphaNum

func IsAlphaNum(str string) bool

func Left

func Left(str *string, width *int)

func PadLeft

func PadLeft(str *string, padCount *int)

func TrimSides

func TrimSides(str string, leftTrimCount int, rightTrimCount int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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