vb.net 简繁转换

前端之家收集整理的这篇文章主要介绍了vb.net 简繁转换前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Dim strSimplifiedChinese,strTraditionalChinese As String

strSimplifiedChinese = "我是中国人!"

strTraditionalChinese = StrConv(strSimplifiedChinese,VbStrConv.TraditionalChinese) '简转繁
Me.TextBox1.Text = strTraditionalChinese


strSimplifiedChinese = StrConv(strTraditionalChinese,VbStrConv.SimplifiedChinese) '繁转简

Me.TextBox2.Text = strSimplifiedChinese

原文链接:https://www.f2er.com/vb/261299.html

猜你在找的VB相关文章