Is there any function that pads zeros on the left?
The requirements of what I'm trying to do are:
- We don't know the coming input string length.
- If it is less than 20 we have to pad zeros on the left side.
- If the input string length is 10 then we have to pad 10 zeros in the left side.
Example
Input:
1234567899
Output:
00000000001234567899