str_shift Subroutine

public subroutine str_shift(str, n)

Shifts characters in str by n positions (positive values denote a right shift and negative values denote a left shift). Characters that are shifted off the end are lost. Positions opened up by the shift are replaced by spaces.

Arguments

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

Called by

proc~~str_shift~~CalledByGraph proc~str_shift str_shift proc~str_insert str_insert proc~str_insert->proc~str_shift

Contents

None