count

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: GPL-3.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alphabetic added in v0.1.11

func Alphabetic(s string) int

Alphabetic counts the number of alphabetic characters in a string

Parameters:

s - the string to count alphabetic characters in

Returns:

The count of alphabetic characters in the string

func Alphanumeric added in v0.1.11

func Alphanumeric(s string) int

Alphanumeric counts the number of alphanumeric characters in a string

Parameters:

s - the string to count alphanumeric characters in

Returns:

The count of alphanumeric characters in the string

func Capital

func Capital(s string) int

Capital counts the number of capital letters in a string

Parameters:

s - the string to count capital letters in

Returns:

The count of capital letters in the string

func Caps

func Caps(s string) int

Caps counts the number of capital letters in a string

Parameters:

s - the string to count capital letters in

Returns:

The count of capital letters in the string

func Lowercase

func Lowercase(s string) int

Lowercase counts the number of lowercase letters in a string

Parameters:

s - the string to count lowercase letters in

Returns:

The count of lowercase letters in the string

func Numbers

func Numbers(s string) int

Numbers counts the number of numbers in a string

Parameters:

s - the string to count numbers in

Returns:

The count of numbers in the string

func Special

func Special(s string) int

Special counts the number of special characters in a string

Parameters:

s - the string to count special characters in

Returns:

The count of special characters in the string

Types

This section is empty.

Jump to

Keyboard shortcuts

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