|
logical function | str_include_ac (carray, string, ignore_space, ignore_case) |
|
Definition at line 158 of file dc_string.f90.
◆ str_include_ac()
logical function dc_string::strinclude::str_include_ac |
( |
character(*), dimension(:), intent(in) |
carray, |
|
|
character(*), intent(in) |
string, |
|
|
logical, intent(in), optional |
ignore_space, |
|
|
logical, intent(in), optional |
ignore_case |
|
) |
| |
|
private |
Definition at line 446 of file dc_string.f90.
467 character(*),
intent(in):: carray(:)
468 character(*),
intent(in)::
string 469 logical,
intent(in),
optional:: ignore_space
470 logical,
intent(in),
optional:: ignore_case
471 integer:: array_size, i
472 logical:: ignore_space_work, ignore_case_work
476 ignore_space_work = .true.
477 if (
present(ignore_space) )
then 478 if ( .not. ignore_space )
then 479 ignore_space_work = .false.
483 ignore_case_work = .false.
484 if (
present(ignore_case) )
then 485 if ( ignore_case )
then 486 ignore_case_work = .true.
490 array_size =
size(carray)
492 if ( ignore_space_work )
then 493 if ( ignore_case_work )
then 495 & strieq_cc( trim( adjustl( carray(i) ) ), &
496 & trim( adjustl(
string ) ) )
499 & ( trim( adjustl( carray(i) ) ) == trim( adjustl(
string ) ) )
503 if ( ignore_case_work )
then 505 & strieq_cc( trim( carray(i) ), trim(
string ) )
507 result = ( trim(carray(i)) == trim(
string) )
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
The documentation for this interface was generated from the following file: