char Interface

public interface char

Converts a string to a Fortran character array.


Contents


Module Procedures

private pure function string_convert_to_char(x) result(rst)

Converts a string to a Fortran character array.

Arguments

Type IntentOptional Attributes Name
type(string), intent(in) :: x

The string to convert.

Return Value character(len=:), allocatable

The resulting string.