常用函数集合插件-https://help.fanruan.com/finereport/doc-view-1493.html

replace(PROPER(StringPinyin("王五", " ", 1))," ","")

============
PROPER(text):将文本中的第一个字母和所有非字母字符后的第一个字母转化成大写,其他字母变为小写。
Text:需要转化为文本的公式、由双引号引用的文本串或是单元格引用。
示例:
PROPER("Finemore Integrated Office")等于“Finemore Integrated Office”。
PROPER("100 percent")等于“100 Percent”。
PROPER("SpreaDSheEt")等于“Spreadsheet”。