public interface find
The position where the occurrenceth occurrence (default 1) of pattern starts in string, or 0 if there is
none. Occurrences may overlap unless consider_overlapping is .false.. An empty pattern gives 0.
Module Procedures
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
string |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
pattern |
|
|
integer,
|
intent(in), |
optional |
|
:: |
occurrence |
|
|
logical,
|
intent(in), |
optional |
|
:: |
consider_overlapping |
|
Return Value
integer
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
string |
|
|
type(String),
|
intent(in) |
|
|
:: |
pattern |
|
|
integer,
|
intent(in), |
optional |
|
:: |
occurrence |
|
|
logical,
|
intent(in), |
optional |
|
:: |
consider_overlapping |
|
Return Value
integer
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(String),
|
intent(in) |
|
|
:: |
string |
|
|
character(len=*),
|
intent(in) |
|
|
:: |
pattern |
|
|
integer,
|
intent(in), |
optional |
|
:: |
occurrence |
|
|
logical,
|
intent(in), |
optional |
|
:: |
consider_overlapping |
|
Return Value
integer
Arguments
| Type |
Intent | Optional | Attributes |
|
Name |
|
|
type(String),
|
intent(in) |
|
|
:: |
string |
|
|
type(String),
|
intent(in) |
|
|
:: |
pattern |
|
|
integer,
|
intent(in), |
optional |
|
:: |
occurrence |
|
|
logical,
|
intent(in), |
optional |
|
:: |
consider_overlapping |
|
Return Value
integer