scan Interface

public interface scan

Builtin scan overloading.

Calls

interface~~scan~~CallsGraph interface~scan scan proc~sscan_string_character sscan_string_character interface~scan->proc~sscan_string_character proc~sscan_string_string sscan_string_string interface~scan->proc~sscan_string_string proc~sscan_character_string sscan_character_string interface~scan->proc~sscan_character_string
Help

Module Procedures

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

Arguments

Type IntentOptional AttributesName
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.

Description

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

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

Arguments

Type IntentOptional AttributesName
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.

Description

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

public elemental function sscan_character_string(sstring, set, back) result(i)

Arguments

Type IntentOptional AttributesName
character(kind=CK,len=*), intent(in) :: sstring

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.

Description

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