Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > strLeftPad
Pads extra space to the left of a string to make it a specified length.
Note: Use the Special String Operators for string concatenation, string inclusion, and simple comparison. |
Type and Usage
Parameters
Takes two parameters:
The first parameter is the string.
The second parameter is the length.
Output
Returns a string, left-filled with spaces if necessary.
Example
Pads extra space on the left to make it a string five characters long, using the form <space><space>inf
:
<$strLeftPad("inf", 5)$>
Returns the string information:
<$strLeftPad("information", 5)$>