starts_with Interface

public interface starts_with

Check whether a string starts with substring or not

Version: experimental


Contents


Module Procedures

private elemental function starts_with_string_string(string, substring) result(match)

Check whether a string starts with substring or not

Arguments

TypeIntentOptionalAttributesName
type(string_type), intent(in) :: string
type(string_type), intent(in) :: substring

Return Value logical

private elemental function starts_with_string_char(string, substring) result(match)

Check whether a string starts with substring or not

Arguments

TypeIntentOptionalAttributesName
type(string_type), intent(in) :: string
character(len=*), intent(in) :: substring

Return Value logical

private elemental function starts_with_char_string(string, substring) result(match)

Check whether a string starts with substring or not

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: string
type(string_type), intent(in) :: substring

Return Value logical

private pure function starts_with_char_char(string, substring) result(match)

Check whether a string starts with substring or not

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: string
character(len=*), intent(in) :: substring

Return Value logical