Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(string), | intent(in) | :: | self | The string. |
Raw characters data.
Return the raw characters data.
pure function chars(self) result(raw)
!---------------------------------------------------------------------------------------------------------------------------------
!< Return the raw characters data.
!---------------------------------------------------------------------------------------------------------------------------------
class(string), intent(in) :: self !< The string.
character(kind=CK, len=:), allocatable :: raw !< Raw characters data.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
if (allocated(self%raw)) then
raw = self%raw
else
raw = ''
endif
return
!---------------------------------------------------------------------------------------------------------------------------------
endfunction chars