string padding

adding string function to String prototype