Difference between revisions of "CENTER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to center a character expression | Function to center a character expression | ||
− | |||
==Syntax== | ==Syntax== | ||
Line 7: | Line 6: | ||
CENTRE(<expC>,<expN>) | CENTRE(<expC>,<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[LPAD()]], [[RPAD()]] | |
− | + | ||
==Description== | ==Description== | ||
− | The CENTER() function centers the character expression <expC> into a character string which is <expN> characters wide. | + | The CENTER() function centers the character expression <expC> into a character string which is <expN> characters wide. |
− | + | ||
==Example== | ==Example== | ||
Line 28: | Line 24: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:String Data]] | [[Category:String Data]] | ||
[[Category:String Data Functions]] | [[Category:String Data Functions]] |
Revision as of 09:18, 10 February 2012
Contents
Purpose
Function to center a character expression
Syntax
CENTER(<expC>,<expN>)
CENTRE(<expC>,<expN>)
See Also
Description
The CENTER() function centers the character expression <expC> into a character string which is <expN> characters wide.
Example
? center("Recital", 20) Recital ? "'" + center("Recital", 20) + "'" ' Recital heading = center("Recital", 20) ? type("heading") C