--- title: "Pad String to Left/Right" slug: "pad-string-to-leftright" updated: 2022-11-15T19:20:09Z published: 2022-11-15T19:20:09Z canonical: "documentation.decisions.com/pad-string-to-leftright" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Pad String to Left/Right | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Text | The Pad String to Right or Pad String to Left step pads a string on the right or left according to the variables the user defines on the input for total string length and padding character. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Length of Result String | This is how many characters the string will have. | Int32 | | Padding Character | This character is used to add padding to the string. | String | | Source | The string to add padding to. | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | PadStringToLeft1_Output PadStringToRight1_Output | String with padding | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-11-15_14h16_49.png)