Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getStrPinYin
import { getStrPinYin } from "https://deno.land/x/lyj@20221017/mod.ts";

Parameters

str: string

获取字符串的拼音首字母

optional
split = [UNSUPPORTED]

拼音分隔符

optional
uppercase = [UNSUPPORTED]