Get start of string to center it in an area
──────────────────────────────────────────────────────────────────────────────

Syntax

nPos := GT_Cent(<cStr>, <nLen>)

Arguments:

cStr := String to be centered
nLen := Length of area to center string in

Returns:

Starting postion

Description:

To ascertain the the starting position of a string to
enable it to be centered in a given area

Examples:

nPos := GT_Cent( space(20), 40 )
nPos will equal 10

Source: GT_CENT.PRG

Author: Niall Scott