当前位置:网站首页>Use of hutool Pinyin tool
Use of hutool Pinyin tool
2022-07-04 05:29:00 【Rookie pig man YY】
Hutool Use of Pinyin tools
Import dependence
1. Import dependence
Because I just want to test , So what I import is jar package , If it is maven The project enters the pom.xml Just import the corresponding dependency in the file ( stay maven In the official website )
Import is required here 2 Dependencies :
1.hutool-all-5.4.1.jar package
2.pinyin4j-2.5.0.jar package
Use
1. Get Chinese initials
// Get the initial
String letter= PinyinUtil.getFirstLetter(" Hello ","");
System.out.println(" Hello initials :"+letter); // nh
边栏推荐
- Get the ID of the record just inserted from laravel
- c语言经典指针和数组笔试题解析
- 简易零钱通
- Automated testing selenium foundation -- webdriverapi
- Build an Internet of things infrared temperature measuring punch in machine with esp32 / rush to work after the Spring Festival? Baa, no matter how hard you work, you must take your temperature first
- 2022g2 power station boiler stoker special operation certificate examination question bank and answers
- Leetcode 184 Employees with the highest wages in the Department (July 3, 2022)
- Principle and practice of common defects in RSA encryption application
- Void convolution, deformable convolution, deformable ROI pooling
- Redis realizes ranking function
猜你喜欢

ETCD数据库源码分析——初始化总览

谷歌 Chrome 浏览器将支持选取文字翻译功能

Trie数-字典树

Write a complete answer applet (including single choice questions, judgment questions and multiple topics) (III) single choice questions, judgment questions, and the first question display

Simulated small root pile

BUU-Crypto-Cipher

小程序毕业设计---美食、菜谱小程序

2022年R2移动式压力容器充装复训题库及答案
![BUU-Real-[PHP]XXE](/img/97/b7139270145e6aa6a4f5d1067e2527.jpg)
BUU-Real-[PHP]XXE

LM small programmable controller software (based on CoDeSys) note XXI: error 3703
随机推荐
BUU-Real-[PHP]XXE
TCP状态转换图
LM小型可编程控制器软件(基于CoDeSys)笔记二十二:错误4268/4052
Signification des lettres du module optique et abréviation des paramètres Daquan
[MySQL practice of massive data with high concurrency, high performance and high availability -8] - transaction isolation mechanism of InnoDB
[matlab] matlab simulates digital baseband transmission system eye diagram of bipolar baseband signal (cosine roll off forming pulse)
2022危险化学品经营单位安全管理人员上岗证题库及答案
[matlab] communication signal modulation general function - low pass filter
BUU-Crypto-[GXYCTF2019]CheckIn
Simulink and Arduino serial port communication
光模块字母含义及参数简称大全
【QT】定时器
C # character similarity comparison general class
LM small programmable controller software (based on CoDeSys) note XXI: error 3703
Notepad++ -- display related configurations
Exercise bubble sort
拓扑排序和关键路径的图形化显示
Flutter ‘/usr/lib/libswiftCore. dylib‘ (no such file)
LabVIEW错误对话框的出现
力扣(LeetCode)184. 部门工资最高的员工(2022.07.03)