See Also: String Functions, Length, Pad, Trim
Center returns a string of specified length with spaces added to, or characters truncated from both sides, so that the input content is centered.
(Center( {string-value}, {length} ))
Center returns a value that has spaces added to the beginning and end of {string-value} until the length of the expression value is equal to {length}.
Move (Center("DataFlex", 50)) to sChapterName
(Center("--12345678901234567890123456789", 14))
results in
--123456789012