Fortran-lang/stdlib
贡献和规范
源文件
模块
过程
抽象接口
派生类型
strip
接口
4 个语句
源文件
stdlib_strings.fypp
stdlib_strings
strip
内容
模块过程
strip_string
strip_char
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