textutils

package
v0.0.0-...-93b8736 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: 0BSD Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSpacer

func AddSpacer(text, spacer string, n int) string

Adds a spacer to a string after every nth character.

func Indent

func Indent(text, prefix string) string

Inserts the prefix string at the beginning of each non-empty line.

func RuneString

func RuneString(length int, char rune) string

Returns a string of the specified length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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