Hi All,
I have one requirement if data is
01
1
16
78
4
I need wherever there is 1 or 4 i need to put leading zero in left
it should be
01,01,16,78,04
Can anybody help me with syntax please it will be great help
Need to put leading zero at right if it is null
Moderators: chulett, rschirm, roy
Need to put leading zero at right if it is null
Regards and Thanks,
Vinita Bhate
Vinita Bhate
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Tryor or just for three.
Code: Select all
Fmt(InLink.TheNumber, "R%2")
Code: Select all
Fmt(InLink.TheNumber, "R'0'2")
Code: Select all
Right("00" : InLink.TheNumber, 2)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.