dc_string::strhead Interface Reference

Private Member Functions

logical function strhead_cc (whole, head)
 

Detailed Description

Definition at line 154 of file dc_string.f90.

Member Function/Subroutine Documentation

◆ strhead_cc()

logical function dc_string::strhead::strhead_cc ( character(len = *), intent(in)  whole,
character(len = *), intent(in)  head 
)
private

Definition at line 402 of file dc_string.f90.

402  !
403  ! 文字列 head と文字列 whole の先頭部分 (head と同じ文字列長)
404  ! とを比較し、同じものならば .true. を、異なる場合には .false.
405  ! を返します。 whole の文字列長が head の文字列長よりも短い場合には
406  ! .false. を返します。
407  !
408  character(len = *), intent(in):: whole
409  character(len = *), intent(in):: head
410 
411  continue
412 
413  result = (len(whole) >= len(head))
414  if (.not. result) return
415  result = (whole(1:len(head)) == head)
416 

The documentation for this interface was generated from the following file: