str_insert Subroutine

public subroutine str_insert(str, substr, loc)

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.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(inout) :: str
character(len=*), intent(in) :: substr
integer, intent(in) :: loc

Calls

proc~~str_insert~~CallsGraph proc~str_insert str_insert proc~str_shift str_shift proc~str_insert->proc~str_shift

Contents

None