str_ends_with Interface

public interface str_ends_with

Module Procedures

private pure function str_ends_with_str(s, e) result(r)

test if a CHARACTER string ends with a specified suffix

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s
character(len=*), intent(in) :: e

Return Value logical

private pure function str_ends_with_any(s, e) result(r)

test if a CHARACTER string ends with any of an array of suffixs

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s
character(len=*), intent(in) :: e(:)

Return Value logical

private pure function str_ends_with_any_string(s, e) result(r)

Test if a CHARACTER string ends with any of an array of string suffixs

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s
type(string_t), intent(in) :: e(:)

Return Value logical