Hi All,
a quick question. How to Right justify and zero fill; a string in PX?
An equivalent of FMT(ColumnName,"11'0'R"), in PX.
I was looking for functions, but couldnt find one. Px has PadString function, but it does Left justification.
Rpad in PX
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 199
- Joined: Tue Jan 18, 2005 2:50 am
- Location: India
Rpad in PX
Shantanu Choudhary
If the input is numbers, Make is as decimal. By default 0s will be padded at left.
Or you can also use. Again you need to follow Johns method to pad to left.
Or you can also use
Code: Select all
PadString(%string%,%padstring%,%padlength%)
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Charter Member
- Posts: 199
- Joined: Tue Jan 18, 2005 2:50 am
- Location: India