wordvalidator

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSame

func IsSame(a, b string) bool

IsSame returns if a is somewhat equal to b

func NormalizeString

func NormalizeString(inStr string) string

NormalizeString normalizes the input. It changes the following things: - Space like characters are converted to spaces - Duplicated spaces are removed - Spaces around the string are removed - Non number and non letter characters are removed - Uppercase characters are converted to lowercase

Types

This section is empty.

Jump to

Keyboard shortcuts

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