We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否添加对返回字符串拼音首字母的支持?
The text was updated successfully, but these errors were encountered:
这个移植项目里添加了首字母支持,不是 Java 语言的。
Java 的话增加个静态函数就可以,基本逻辑是给一个固定的分隔符(比如:|)调用拼音转换,然后通过分隔符切分字串,取每段第一个字符拼成新的首字母字串。移植项目用了语言特性 LINQ,对应 Java 的特性是 stream(), map() 和 collect()。
|
stream()
map()
collect()
Sorry, something went wrong.
No branches or pull requests
能否添加对返回字符串拼音首字母的支持?
The text was updated successfully, but these errors were encountered: