Parameters (String);
Returns: String;
Function to pad a string to a minimum length by adding characters to the start
The first parameter is the source string.
The second parameter is the string that will be used as padding.
The third parameter is the minimum length of the returned string.
If the string is longer than <length> it will be returned unchanged.
If the string NULL it will be returned unchanged.
Example: LPAD('Hello','-',8) = '---Hello'
Comments
0 comments
Please sign in to leave a comment.