C# Class Andwho.Windows.Helper.StrEx

对 字符串 的扩展操作
Mostra file Open project: JimmyFung/DesktopHelper Class Usage Examples

Public Methods

Method Description
GetStrLength ( string str ) : int

获取字符串的字符长度

JoinArray ( object array ) : string

将字符串数组以逗号(,)分隔

JoinArray ( object array, string split ) : string

将字符串数据以指定的符号分隔

Method Details

GetStrLength() public static method

获取字符串的字符长度
public static GetStrLength ( string str ) : int
str string 需要获取字符长度的字符串
return int

JoinArray() public static method

将字符串数组以逗号(,)分隔
public static JoinArray ( object array ) : string
array object string[]
return string

JoinArray() public static method

将字符串数据以指定的符号分隔
public static JoinArray ( object array, string split ) : string
array object string[]
split string 分隔数组的符号
return string