strings

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndsWith

func EndsWith(s, suffix string) bool

EndsWith tests whether the string s begins with prefix, wrapper strings.HasSuffix method.

func Equals

func Equals(s1, s2 string) bool

Equals returns true if s1 equal s2.

func EqualsIgnoreCase

func EqualsIgnoreCase(s1, s2 string) bool

EqualsIgnoreCase returns true if s1 equal s2, ignore case of element.

func StarsWith

func StarsWith(s, prefix string) bool

StarsWith tests whether the string s begins with prefix, wrapper strings.HasPrefix method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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