天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
常用字符串函数
Str2Array
复制链接
简述
将一个分隔符号为aps的字符串value分割成为一个字符串一维数组。如果无aps参数,则默认分割符号为';'
定义
Str2Array(value:String;aps:String):Array of String;
参数
名称
类型
说明
value
String
字符串,需要分割的字符串
aps
String
字符串,分割符
返回
Array of String
一维数组
范例
r:= Str2Array("SZ000001;SZ000002;SH600000",";") ; //以分号分隔
return r;
//输出:array("SZ000001","SZ000002","SH600000")
参考
Array2Str
相关
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
DecToInt64
DecToInt64def
TryDecToInt64
DecToInt32
DecToInt32def
TryDecToInt32
StrToInt64
StrToInt64Def
TryStrToInt64
StrToInt32
StrToInt32Def
TryStrToInt32
ToHttpPostdata
DecToInt
DecToIntDef
TryDecToInt
FloatToStrne
FuzzyCompare
FuzzyCompareEx
模糊匹配算法类型函数