|
Reference Type: Supported, Category: String Functions, ICR#: 10104
The $$RJ^XLFSTR extrinsic function returns a right justified character string.
$$RJ^XLFSTR(s,i[,p])
| s: |
(required) Character string. |
| i: |
(required) Field size. If this second parameter contains a trailing T, this extrinsic function returns the output truncated to the field size specified. |
| p: |
(optional) Pad character. |
| returns: |
Returns the right justified string. |
>W "[",$$RJ^XLFSTR("TOM",10),"]"
[ TOM]
|
>W "[",$$RJ^XLFSTR("TOM",10,"-"),"]"
[-------TOM]
|
>W $$RJ^XLFSTR("123456789",5)
123456789
|
>W $$RJ^XLFSTR(123456789,"5T") 12345 |