strs

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Indent

func Indent(s string, ind string) string

Indent indents a string `s` with indentation string `ind`. Replaces all `\r\n` to `\n`.

func SplitAndTrim

func SplitAndTrim(s string, del string) []string

SplitAndTrim splits a string with delimiter `del` and trims all spaces from each value.

func SplitLines

func SplitLines(s string) []string

SplitLines splits a string into an array of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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