Pin Yin ExtensionGet Pin Yin With Custom Converter 方法
获取指定字符串的拼音首字母,使用自定义转换函数
Definition
命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
转换后的字符串
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public static string GetPinYinWithCustomConverter(
this string? source,
Func<char, string> charConverter,
params char[] ignoreChars
)参数
返回值
String转换后的字符串