PadLeft::level
PadRight::level
An error occurs because the second argument refers to two dimensions and the first argument has only one dimension:
PadRight[{1, 2, 3, 4}, {3, 3}]This shows a use of PadRight to pad the rows and columns of a matrix:
PadRight[{{1, 2}, {3, 4}}, {3, 3}]