to_title 接口

public interface to_title

返回输入字符串中所持字符序列的标题大小写版本

此方法是元素化的,并返回一个新的 string_type 实例,其中包含此标题大小写字符序列


模块过程

private elemental function to_title_string(string) result(titlecase_string)

将输入字符串中所持字符序列转换为标题大小写

参数

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

返回值 type(string_type)