Helper Function for xpssCompute. R Implementation of the SPSS CHAR.LPAD Function.
Usage
computeChar_lpad (x, length = NULL, fill = NULL)
Arguments
x
atomic character or character vector.
length
atomic numeric. Number of characters x is to be filled on the left.
fill
atomic character. String which should be append on the left side.
Value
String, left-padded by length lengthpa.
Details
The value of length represents the number of characters and must be a positive integer. If the optional argument fill is not specified, x is padded with blank spaces.