strip 接口

public interface strip

移除前导和尾随空白字符。

版本:实验性


模块过程

private pure function strip_string(string) result(stripped_string)

移除前导和尾随空白字符。

参数

类型 意图可选 属性 名称
type(string_type), intent(in) :: string

返回值 type(string_type)

private pure function strip_char(string) result(stripped_string)

移除前导和尾随空白字符。

参数

类型 意图可选 属性 名称
character(len=*), intent(in) :: string

返回值 character(len=:), allocatable