text

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package text provides utility functions for string manipulation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(s string, lineWidth int, space rune) []string

Wrap splits the input string into lines not exceeding the specified line width, using a custom word separator rune. Word separators stick to the end of the preceding word.

Types

This section is empty.

Jump to

Keyboard shortcuts

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