fdoc

functionstrip_trailingpureprivate

pure character(len=len_trim(s)) function strip_trailing(s) result(t)

s without trailing whitespace.

Arguments

NameTypeIntentAttributesDescription
scharacter(len=*)in

the text

Result

NameTypeAttributesDescription
tcharacter(len=len_trim(s))private

Source

Show the code
pure function strip_trailing(s) result(t)
    character(len=*), intent(in) :: s   !! the text
    character(len=len_trim(s)) :: t
    t = s
end function strip_trailing

Graphs

Called by