天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
常用字符串函数
Letters
复制链接
简述
将数字与在字符串进行对照转换。基本用法同R的letters。在超出26的时候,仿excel的列名的规则提取。用于将excel数字列名转为字符串列名:1->'A'。
定义
Letters(vlaue:Integer;ul:Integer):String/Array
参数
名称
类型
说明
vlaue
Integer
整数。正整数列名
ul
Integer
整数。是否大写,默认为1
返回
String/Array
字符串或数组。
范例
return letters(1,0);
//结果:a
相关
Str2Array
Array2Str
Chr
WideChr
Ord
StrCmp
Concat
Format
SetFormatLocalCode
GetFormatLocalCode
AnsiFormat
Pos
Copy
SetLength
LeftStr
RightStr
LeftBStr
RightBStr
MidBStr
GetChar
SetChar
Str
Val
CompareStr
UpperCase
LowerCase
AppendStr
CompareText
SameText
Trim
TrimLeft
TrimRight
IsValidIdent
IntToStr
IntToHex
StrToInt
StrToIntDef
TryStrToInt
StrToBool
StrToBoolDef
TryStrToBool
BoolToStr
Booltostr2
FloatToStr
CurrToStr
FormatFloat
FormatCurr
StrToFloat
StrToFloatDef
TryStrToFloat
StrToCurr
StrToCurrDef
TryStrToCurr
Tostring
SpaceByNumber
AnsiStr2Array
TryUppercase
TryLowercase
SysEncodecryptStr
Letters