文字型変数の操作. 
- Author
 - Youhei SASAKI, Yasuhiro MORIKAWA, Eizi TOYODA 
 
- Copyright
 - Copyright (C) GFD Dennou Club, 2000-2017. All rights reserved. 
 License is BSD-2-Clause. see COPYRIGHT in detail 
本モジュールは文字列を操作するためのサブルーチン群を提供します. 
 | 
| logical function  | strhead_cc (whole, head) | 
|   | 
| logical function  | strieq_cc (string_a, string_b) | 
|   | 
| logical function  | str_include_ac (carray, string, ignore_space, ignore_case) | 
|   | 
| logical function  | str2bool (string) | 
|   | 
| integer function  | atoi_scalar (string, default) | 
|   | 
| real(dp) function  | atod_scalar (string_in) | 
|   | 
| subroutine  | str2ip (int_ptr, string_in) | 
|   | 
| subroutine  | str2rp (real_ptr, string_in) | 
|   | 
| subroutine  | str2dp (real_ptr, string_in) | 
|   | 
| character(token) function  | itoa_scalar (i) | 
|   | 
| character(string) function  | itoa_array (ibuf) | 
|   | 
| character(token) function  | rtoa_scalar (x) | 
|   | 
| character(string) function  | rtoa_array (rbuf) | 
|   | 
| character(token) function  | dtoa_scalar (d) | 
|   | 
| character(string) function  | dtoa_array (dbuf) | 
|   | 
| character(token) function  | ltoa_scalar (l) | 
|   | 
| character(string) function  | ltoa_array (lbuf) | 
|   | 
| character(string) function, public  | joinchar (carray, expr) | 
|   | 
| subroutine  | concat_tail (carray, str, result) | 
|   | 
| character(string) function, dimension(1)  | str_to_array1 (c1) | 
|   | 
| character(string) function, dimension(2)  | str_to_array2 (c1, c2) | 
|   | 
| character(string) function, dimension(3)  | str_to_array3 (c1, c2, c3) | 
|   | 
| character(string) function, dimension(4)  | str_to_array4 (c1, c2, c3, c4) | 
|   | 
| character(string) function, dimension(5)  | str_to_array5 (c1, c2, c3, c4, c5) | 
|   | 
| character(string) function, dimension(6)  | str_to_array6 (c1, c2, c3, c4, c5, c6) | 
|   | 
| character(string) function, dimension(7)  | str_to_array7 (c1, c2, c3, c4, c5, c6, c7) | 
|   | 
| character(string) function, dimension(8)  | str_to_array8 (c1, c2, c3, c4, c5, c6, c7, c8) | 
|   | 
| character(string) function, dimension(9)  | str_to_array9 (c1, c2, c3, c4, c5, c6, c7, c8, c9) | 
|   | 
| character(string) function, dimension(10)  | str_to_array10 (c1, c2, c3, c4, c5, c6, c7, c8, c9, c10) | 
|   | 
| character(string) function, dimension(11)  | str_to_array11 (c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11) | 
|   | 
| character(string) function, dimension(12)  | str_to_array12 (c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12) | 
|   | 
| subroutine  | split_cc (str, carray, sep, limit) | 
|   | 
| integer function, public  | index_ofs (string, start, substr) | 
|   | 
| recursive character(strlen) function, public  | replace (string, from, to, recursive, start_pos) | 
|   | 
| subroutine  | cupper (ch) | 
|   | 
| subroutine  | clower (ch) | 
|   | 
| character(string) function, public  | uchar (ch) | 
|   | 
| character(string) function, public  | lchar (ch) | 
|   | 
| character(string) function, public  | roundnum (num) | 
|   | 
      
        
          | character(string) function, public dc_string::joinchar  | 
          ( | 
          character(*), dimension(:), intent(in)  | 
          carray,  | 
        
        
           | 
           | 
          character(*), intent(in), optional  | 
          expr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 861 of file dc_string.f90.
Referenced by actual_iorange_dump(), dc_args::dcargsget0(), dc_args::dcargshelp0(), dc_args::dcargsputline0(), dc_hash::dchashputline0(), historyaddattrchar0(), historyaddattrdouble0(), historyaddattrdouble1(), historyaddattrint0(), historyaddattrint1(), historyaddattrlogical0(), historyaddattrreal0(), historyaddattrreal1(), historyaddvariable1(), historyaddvariable2(), historyautoaddvariable1(), historyautoallvarfix(), historyautoclose1(), historyautocreate1(), historyautocreate2(), historyautocreate3(), historyaxisaddattrchar0(), historyaxisaddattrdouble0(), historyaxisaddattrdouble1(), historyaxisaddattrint0(), historyaxisaddattrint1(), historyaxisaddattrlogical0(), historyaxisaddattrreal0(), historyaxisaddattrreal1(), historycreate1(), historycreate2(), historygetdouble0(), historygetdouble1(), historygetdouble2(), historygetdouble3(), historygetdouble4(), historygetdouble5(), historygetdouble6(), historygetdouble7(), historygetint0(), historygetint1(), historygetint2(), historygetint3(), historygetint4(), historygetint5(), historygetint6(), historygetint7(), historygetreal0(), historygetreal1(), historygetreal2(), historygetreal3(), historygetreal4(), historygetreal5(), historygetreal6(), historygetreal7(), historygettattrchar0(), historygettattrdouble0(), historygettattrdouble1(), historygettattrint0(), historygettattrint1(), historygettattrreal0(), historygettattrreal1(), historyputcharex(), historyputdoubleex(), historyputintex(), historyputline(), historyputrealex(), historyvarinfoaddattrchar0(), historyvarinfoaddattrdouble0(), historyvarinfoaddattrdouble1(), historyvarinfoaddattrint0(), historyvarinfoaddattrint1(), historyvarinfoaddattrlogical0(), historyvarinfoaddattrreal0(), historyvarinfoaddattrreal1(), historyvarinfocopy1(), gtool_historyauto_internal::hstfilecreate(), hstnmlinfoadd(), hstnmlinfoallnamevalid(), hstnmlinfoallvarinicheck(), hstnmlinfoassocgthist(), hstnmlinfoclose(), hstnmlinfocreate(), hstnmlinfodelete(), hstnmlinfoenddefine(), hstnmlinfogetnames(), hstnmlinfoinquire(), hstnmlinfonames(), hstnmlinfooutputstep(), hstnmlinfooutputstepdisable(), hstnmlinfooutputvalid(), hstnmlinfoputline(), hstnmlinforedefine(), hstnmlinforesetdefault(), and hstnmlinfosetvalidname().
  867     character(*)     , 
intent(in)           :: carray(:)
   868     character(*)     , 
intent(in), 
optional :: expr
   870     character(2)     ,
parameter :: 
default = 
', '   871     character(STRING)           :: delimiter
   874     if ( 
present(expr) ) 
then   881     if (
size(carray) <= 0) 
then   885     result = trim(carray(1))
   886     do, i = 2, 
size(carray)
   887       result = trim(result) // delimiter(1:dellen) // trim(carray(i))
 type(gt_history), target, save, public default