天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
多语言支持函数
Booltostrw2
复制链接
简述
将布尔型转换成宽字节字符串类型并返回。与BoolToStr2的区别是,BoolToStr2返回的是多字节字符串,而BoolToStrw2返回的是宽字节字符串。
定义
BoolToStrw2(B: Boolean): String;
参数
名称
类型
说明
B
Boolean
布尔型
返回
String
宽字节字符串字符串,如果B为真,函数返回'True',如果B为假,返回'False'。
范例
Return booltostrw2(2>1);
//返回宽字节字符串:True
相关
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