Contents: | Main | Chapter | See Also: | Getting Started Manual | Programmer Manual |
Format: | DUP(string,n) |
Parameters: |
string is any string of characters or an expression yielding a string of characters. n is a positive integer or a numeric expression. |
Use: | This function returns a string of characters n characters long. If string is less than n characters long, the characters in string will be repeated until the output string is n characters in length. |
Example: |
DUP(DIAGNOSIS,3)=> Ang [value of DIAGNOSIS=Angina Pectoris] DUP("_",IOM)=> _____________________ [line drawn will have a length equal to the value of IOM] |
Reviewed/Updated: March 4, 2007