![]() ![]() |
Reference Type: Supported, Category: String Functions, ICR#: 10104
The $$LJ^XLFSTR extrinsic function returns a left justified character string.
$$LJ^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 left justified string. |
>W "[",$$LJ^XLFSTR("TOM",10),"]" [TOM ] |
>W "[",$$LJ^XLFSTR("TOM",10,"-"),"]" [TOM-------] |
>W $$LJ^XLFSTR("123456789",5) 123456789 |
>W $$LJ^XLFSTR(123456789,"5T") 12345 |