FOODIE utils: module of (possible) unrelated utilities of FOODIE library.
Check if the queried number n is admitted by the admissible range list adm_range.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I_P), | intent(in) | :: | n | Number queried. |
||
character(len=*), | intent(in) | :: | adm_range | Admissible range string. |
Is true is the number is in adm_range.
Tokenize a string in order to parse it.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | string | String to be tokenized. |
||
character(len=*), | intent(in) | :: | delimiter | Delimiter of tokens. |
||
character(len=len(string)), | intent(out), | allocatable | :: | toks(:) | Tokens. |
|
integer(kind=I_P), | intent(out), | optional | :: | Nt | Number of tokens. |