scan Interface

public interface scan

Builtin scan overloading.

Calls

interface~~scan~~CallsGraph interface~scan stringifor_string_t::scan proc~sscan_character_string stringifor_string_t::sscan_character_string interface~scan->proc~sscan_character_string proc~sscan_string_character stringifor_string_t::string%sscan_string_character interface~scan->proc~sscan_string_character proc~sscan_string_string stringifor_string_t::string%sscan_string_string interface~scan->proc~sscan_string_string

Contents


Module Procedures

private elemental function sscan_string_string(self, set, back) result(i)

Return the leftmost (if back is either absent or equals false, otherwise the rightmost) character of string that is in set.

Read more…

Arguments

Type IntentOptional Attributes Name
class(string), intent(in) :: self

The string.

type(string), intent(in) :: set

Searched set.

logical, intent(in), optional :: back

Start of the last occurrence rather than the first.

Return Value integer

Result of the search.

private elemental function sscan_string_character(self, set, back) result(i)

Return the leftmost (if back is either absent or equals false, otherwise the rightmost) character of string that is in set.

Read more…

Arguments

Type IntentOptional Attributes Name
class(string), intent(in) :: self

The string.

character(kind=CK, len=*), intent(in) :: set

Searched set.

logical, intent(in), optional :: back

Start of the last occurrence rather than the first.

Return Value integer

Result of the search.

private elemental function sscan_character_string(s, set, back) result(i)

Return the leftmost (if back is either absent or equals false, otherwise the rightmost) character of string that is in set.

Read more…

Arguments

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

String.

type(string), intent(in) :: set

Searched set.

logical, intent(in), optional :: back

Start of the last occurrence rather than the first.

Return Value integer

Result of the search.