A Visual FoxPro built-in function which returns a string from an expression, padded with spaces or characters to a specified length on the right sides.
Syntax
Padr(cExpression,nCharacters,cCharacter)
Argument
cExpression |
Expression to be padded. May be string, number or date |
nCharacters |
Length of the returned string |
cCharacter |
Character to use for padding. |
Returns
Character
Example
Padr("Good",5)+"boy"
Returns "Good boy"
Padr(12,4)+"pc"
Returns "12 pc"
Page url: http://www.racematenet.com/english/help/index.html?padr.htm