...
Documentation
Documentation

# Package formatutils

## Overview ▹

## Overview ▾

## Index ▹

## Index ▾

### Package files

numbering_format.go numbering_text.go strings_format.go

## func FormatNumberingText ¶

    func FormatNumberingText(currentNumber int64, ilvl int64, lvlText string, numFmt *wml.CT_NumFmt, levelNumbers map[int64]int64) string

FormatNumberingText format item numbering text.

## func Initials ¶

    func Initials(text string) string

Initials return initials from a given text.

## func StringToNumbers ¶

    func StringToNumbers(str string) (int, bool)

StringToNumbers returns number only as integer from string. This a modified golang `strconv.Atoi` which ignores string and returns int and bool if successfully get int from the string.