
Left pad the input string Specifications
Left pad the input string with " " (1 whitespace)
Returns a new string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string | |||
| integer, | intent(in) | :: | output_length |
Left pad the input string with the 'pad_with' character
Returns a new string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | string | |||
| integer, | intent(in) | :: | output_length | |||
| character(len=1), | intent(in) | :: | pad_with |
Left pad the input string with " " (1 whitespace)
Returns a new string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string | |||
| integer, | intent(in) | :: | output_length |
Left pad the input string with the 'pad_with' character
Returns a new string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string | |||
| integer, | intent(in) | :: | output_length | |||
| character(len=1), | intent(in) | :: | pad_with |