This topic describes the syntax and usage of the rightpad functon in Zoho Creator .
The rightpad function returns the input string with whitespace characters padded to the right of the string. You specify the String that you'd like to pad and the total size of the finished String.
The rightpad function syntax has the following arguments.
str1 - Required. The string to be padded to the right.
size - Required. The total size of the finished string.
Note: This function is supported only in free-flow scripting mode of Script Builder.
rightpad("Pad me") //would return "Pad me " whose length is 10