str_endswith Function

public pure function str_endswith(str, suffix, start, finish) result(res)

Returns .true. if the string str ends with suffix, otherwise return .false.. With optional start, test beginning at that position. With optional finish, stop comparing beyond that position.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: str
character(len=*), intent(in) :: suffix
integer, intent(in), optional :: start
integer, intent(in), optional :: finish

Return Value logical


Contents

None