strings

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 0 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains added in v0.0.7

func Contains(text, search string) int

Contains verifica si la cadena 'search' está presente en 'text'

func ExtractTwoPointArgument added in v0.0.8

func ExtractTwoPointArgument(option string, field *string) (err string)

func Join added in v0.0.6

func Join(values []string, separate string) (out string)

separate ej: " ", "," "."

func LettersUpperLowerCase added in v0.0.9

func LettersUpperLowerCase(with_ñ ...bool) map[rune]rune

ej: A:a, B:b.. with_ñ = Ñ:ñ

func LowerCaseFirstLetter added in v0.0.5

func LowerCaseFirstLetter(name string) string

func RemoveSuffixIfPresent added in v0.0.8

func RemoveSuffixIfPresent(path *string, suffix string)

remover \cmd ej: "mi_directorio\cmd" "\\cmd"

func Split added in v0.0.3

func Split(data, separator string) (result []string)

ej: "texto1,texto2" "," = []string{texto1,texto2}

func ToLowerCase added in v0.0.8

func ToLowerCase(in string) string

solo a minúscula texto del alfabeto con ñ

Types

This section is empty.

Jump to

Keyboard shortcuts

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