Views:

Product: LABELVIEW, CODESOFT

Version: All Versions

 

pad(«string», «length», «char»): Adds characters to the left of the field to assign a predefined length to the whole input. Any character can be selected as a padding character.

Example:
If a field named GREETING displays a value HELLO, then:

  • pad(GREETING,8,0) = 000HELLO
  • pad(5,3,0) = 005
  • pad(''Nine'',6,"a") = aaNine