Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in) | :: | c |
pure function string_(c)
!< Return a string given a character input.
!<
!<```fortran
!< print "(L1)", string('Hello World')//''=='Hello World'
!<```
!=> T <<<
character(*), intent(in) :: c !< Character.
type(string) :: string_ !< String.
string_%raw = c
endfunction string_