CTR
Top  Previous  Next

(CTR(text,width))

Centers text in width characters, returning a text string.

In the following example, the value of vctr is ABCD .

The text string is centered in a 10-character field.

SET VAR vctr = (CTR('ABCD',10))