arabic

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count(s string) int

Count returns the number of arabic letters in a string.

func IsVowel

func IsVowel(r rune) bool

IsVowel returns true if a rune is an arabic vowel.

func ToArabic

func ToArabic(num int) (n string)

ToArabic converts a number to its arabic script notation.

func Wrap

func Wrap(s string, limit int) string

Wrap wraps a string according to the limit.

func WrapToSlice

func WrapToSlice(s string, limit int) []string

WrapToSlice wraps a string according to the limit and returns it to a slice of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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