You can use the StringRightPad action in the Community Commons module in the Marketplace to pad a string to the right.
It takes 3 parameters
It will return a new String variable that you can then use in your application. If the string you pass in is longer the amount you want to pad by, no padding will take place.
I hope this helps.