str_strip_comment Subroutine

public subroutine str_strip_comment(str, comment_str)

Strips trailing comment from a string.

The comment is assumed to begin with the sequence of characters in comment_str. If the sequence comment_str is not found within str, no changes are made.

Arguments

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

Input string

character(len=*), intent(in) :: comment_str

String indicating beginning of a comment.


Called by

proc~~str_strip_comment~~CalledByGraph proc~str_strip_comment str_strip_comment proc~readline readline proc~readline->proc~str_strip_comment proc~read_config read_config proc~read_config->proc~readline proc~control_read control_read proc~control_read->proc~readline proc~run run proc~run->proc~read_config program~main main program~main->proc~run

Contents

None