strmod

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Str

type Str struct{}

func (*Str) Center added in v0.22.0

func (*Str) Center(s string, width int, extra ...interface{}) interface{}

func (*Str) Chars added in v0.22.0

func (*Str) Chars(s string) interface{}

func (*Str) Contains

func (*Str) Contains(s, substr string) interface{}

func (*Str) Count added in v0.22.0

func (*Str) Count(s, substr string) interface{}

func (*Str) EachLine added in v0.22.0

func (*Str) EachLine(s string) interface{}

func (*Str) Empty added in v0.22.0

func (*Str) Empty(s string) interface{}

func (*Str) EndsWith

func (*Str) EndsWith(s, suffix string) interface{}

func (*Str) Fields added in v0.22.0

func (*Str) Fields(s string) interface{}

func (*Str) Index

func (*Str) Index(s, substr string) interface{}

func (*Str) Join added in v0.10.0

func (*Str) Join(v interface{}, sep string) interface{}

func (*Str) LastIndex added in v0.22.0

func (*Str) LastIndex(s, substr string) interface{}

func (*Str) Lower

func (*Str) Lower(s string) interface{}

func (*Str) PadLeft added in v0.22.0

func (*Str) PadLeft(s string, width int, extra ...interface{}) interface{}

func (*Str) PadRight added in v0.22.0

func (*Str) PadRight(s string, width int, extra ...interface{}) interface{}

func (*Str) Repeat added in v0.22.0

func (*Str) Repeat(s string, n int) interface{}

func (*Str) Replace

func (*Str) Replace(s, old, new string) interface{}

func (*Str) Reverse added in v0.22.0

func (*Str) Reverse(s string) interface{}

func (*Str) RuneCount added in v0.16.0

func (*Str) RuneCount(s string) interface{}

func (*Str) Slice added in v0.22.0

func (*Str) Slice(s string, start, end int) interface{}

func (*Str) Split

func (*Str) Split(s, sep string) interface{}

func (*Str) StartsWith

func (*Str) StartsWith(s, prefix string) interface{}

func (*Str) Trim

func (*Str) Trim(s string) interface{}

func (*Str) TrimPrefix added in v0.22.0

func (*Str) TrimPrefix(s, prefix string) interface{}

func (*Str) TrimSuffix added in v0.22.0

func (*Str) TrimSuffix(s, suffix string) interface{}

func (*Str) Upper

func (*Str) Upper(s string) interface{}

Jump to

Keyboard shortcuts

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