ends_with Interface

public interface ends_with

Whether string ends with substring. Every string ends with the empty string.


Module Procedures

private elemental recursive function ends_with_cc(string, substring) result(res)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string
character(len=*), intent(in) :: substring

Return Value logical

private elemental recursive function ends_with_cs(string, substring) result(res)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string
type(String), intent(in) :: substring

Return Value logical

private elemental recursive function ends_with_sc(string, substring) result(res)

Arguments

Type IntentOptional Attributes Name
type(String), intent(in) :: string
character(len=*), intent(in) :: substring

Return Value logical

private elemental recursive function ends_with_ss(string, substring) result(res)

Arguments

Type IntentOptional Attributes Name
type(String), intent(in) :: string
type(String), intent(in) :: substring

Return Value logical