strip Interface

public interface strip

Remove leading and trailing whitespace characters.

Version: experimental


Module Procedures

private pure function strip_string(string) result(stripped_string)

Remove leading and trailing whitespace characters.

Arguments

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

Return Value type(string_type)

private pure function strip_char(string) result(stripped_string)

Remove leading and trailing whitespace characters.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string

Return Value character(len=:), allocatable