try to use LPAD/ RPAD function
Cheers!