天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
多语言支持函数
LCMapString
复制链接
简述
编码转化函数,参考WINDOWS API LCMapString。
定义
LCMapString(S:String;lcid:Integer;flag:Integer):String;
参数
名称
类型
说明
S
String
字符串。
Lcid
Integer
标识ID。
Flag
Integer
转换的参数。
返回
String
转换后的字符串。
范例
lcmapstring(s,0x0804,0x2000000);//可以把繁体转换为简体字符集
return lcmapstring("亞洲",0x0804,0x2000000);
返回:亚洲
差异说明
由于根据windowsAPI的开发,所以Linux中不支持。
相关
AnsiPos
ByteType
ByteToCharLen
CharToByteLen
ByteToCharIndex
CharToByteIndex
CharLength
NextCharIndex
AnsiQuotedStr
AnsiDequotedStr
AnsiToUTF8
UTF8ToAnsi
UnicodeESC
unUnicodeESC
MultibyteToUnicode
UnicodeToMultiByte
LCMapString
MakeLCID
unUnicodeESC2
unUnicodeESC2w
UnicodeESC2
unUnicodeESCw
Strw
CurrtoStrw
FloatToStrW
MultibytetoUnicodew
UnicodetoUTF8
UTF8toUnicode
Inttohexw
Inttostrw
Ifwstring
Booltostrw2
Booltostrw
ExportJSONString
Importjsonstring
ExportJsonStringUTF8
ExportJSONStringMBCS
FloatToStrneW