Functions

center

Supported By

Syntax

[the] center of ( string , length )

center ( string , length )

String yields any string. Length yields an integer.

Description

The center function returns the middle length characters of the specified string.

Note

If length is zero or negative, empty is returned. If length is longer than the specified string, the original string is returned.

See Also

left, mid, right