Inserts a substring into another string at the specified index.
Inserts a substring into another string at the specified index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string into which the substring will be inserted. |
||
| integer(kind=int32), | intent(in) | :: | start |
The starting index at which to insert the substring. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to insert. |
The resulting string.
Inserts a substring into another string at the specified index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string into which the substring will be inserted. |
||
| integer(kind=int32), | intent(in) | :: | start |
The starting index at which to insert the substring. |
||
| type(string), | intent(in) | :: | substr |
The substring to insert. |
The resulting string.
Inserts a substring into another string at the specified index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string into which the substring will be inserted. |
||
| integer(kind=int32), | intent(in) | :: | start |
The starting index at which to insert the substring. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to insert. |
The resulting string.
Inserts a substring into another string at the specified index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string into which the substring will be inserted. |
||
| integer(kind=int32), | intent(in) | :: | start |
The starting index at which to insert the substring. |
||
| type(string), | intent(in) | :: | substr |
The substring to insert. |
The resulting string.