Inserts the string substr into the string str at position loc.
Characters in str starting at position loc are shifted right to
make room for the inserted string. Trailing spaces of substr are
removed prior to insertion.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(inout) | :: | str | |||
| character(len=*), | intent(in) | :: | substr | |||
| integer, | intent(in) | :: | loc |