Appearance
flap_utils_m
Source: src/third_party/FLAP/src/lib/flap_utils_m.f90
Dependencies
Contents
Interfaces
count
Module procedures: count_substring
Subroutines
tokenize
Attributes: pure
fortran
subroutine tokenize(strin, delimiter, toks, Nt)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
strin | character(len=*) | in | ||
delimiter | character(len=*) | in | ||
toks | character(len=len) | out | allocatable | |
Nt | integer(kind=I4P) | out | optional |
Call graph
Functions
count_substring
Attributes: elemental
Returns: integer(kind=I4P)
fortran
function count_substring(string, substring) result(No)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in | ||
substring | character(len=*) | in |
replace
Attributes: pure
Returns: character(len=:)
fortran
function replace(string, substring, restring) result(newstring)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in | ||
substring | character(len=*) | in | ||
restring | character(len=*) | in |
Call graph
replace_all
Attributes: pure
Returns: character(len=:)
fortran
function replace_all(string, substring, restring) result(newstring)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in | ||
substring | character(len=*) | in | ||
restring | character(len=*) | in |
Call graph
unique
Attributes: elemental
Returns: character(len=len)
fortran
function unique(string, substring) result(uniq)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in | ||
substring | character(len=*) | in |
Call graph
upper_case
Attributes: elemental
Returns: character(len=len)
fortran
function upper_case(string)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in |
Call graph
wstrip
Attributes: pure
Returns: character(len=:)
fortran
function wstrip(string) result(newstring)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in |
Call graph