Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0
Syntax
Code Block
languagenone
set aChangedString = aString.padRight(character, length)
set aChangedString = padRight(LITERAL, character, length)
SemanticsThe string is padded to the length by adding the character on the right (end) of the string. If the string is already of the required size or larger, the string is returned unchanged.
SubstitutablesaString Can be any variable or object attribute having the type String.  
character A single character.
length Length of final string in characters.
LITERAL String literal.
Examples
Code Block
languagenone
 set changedString = s1.padRight("0", 10);
rp
Panel
titleRelated Pages: