stringx

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package stringx provides string manipulation functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyPrefix added in v0.1.11

func AnyPrefix(s string, prefixes ...string) bool

AnyPrefix checks if a string has any of the given prefixes.

func FirstN

func FirstN(s string, n int) string

FirstN returns the first n characters of a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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