Skip to content

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

NameTypeIntentAttributesDescription
strincharacter(len=*)in
delimitercharacter(len=*)in
tokscharacter(len=len)outallocatable
Ntinteger(kind=I4P)outoptional

Call graph

Functions

count_substring

Attributes: elemental

Returns: integer(kind=I4P)

fortran
function count_substring(string, substring) result(No)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in
substringcharacter(len=*)in

replace

Attributes: pure

Returns: character(len=:)

fortran
function replace(string, substring, restring) result(newstring)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in
substringcharacter(len=*)in
restringcharacter(len=*)in

Call graph

replace_all

Attributes: pure

Returns: character(len=:)

fortran
function replace_all(string, substring, restring) result(newstring)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in
substringcharacter(len=*)in
restringcharacter(len=*)in

Call graph

unique

Attributes: elemental

Returns: character(len=len)

fortran
function unique(string, substring) result(uniq)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in
substringcharacter(len=*)in

Call graph

upper_case

Attributes: elemental

Returns: character(len=len)

fortran
function upper_case(string)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in

Call graph

wstrip

Attributes: pure

Returns: character(len=:)

fortran
function wstrip(string) result(newstring)

Arguments

NameTypeIntentAttributesDescription
stringcharacter(len=*)in

Call graph