# PAD() > [HTML Version](pad().htm) **PAD (var, size)** **PAD\$ (var, size)** PAD() and PAD\$() return a string equal to the input string _var_ (which must be string format) padded with trailing spaces out to the length specified by _size_. In other words, this is the opposite of STRIP(). If size is less than the current length of var then it functions just like the LEFT() function. **History** 2013 May, A-Shell 6.1.1351: Removed limits on input and output size. Previously, the input expression was limited to 255 bytes, and the output expression to 4095. The new effective limit is the available space in the memory partition