StringHelperToSubString Method |
截取部分字符
Namespace: X3Platform.UtilAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static string ToSubString(
string text,
string tagStart,
bool tagStartBool,
string tagEnd,
bool tagEndBool
)
public:
static String^ ToSubString(
String^ text,
String^ tagStart,
bool tagStartBool,
String^ tagEnd,
bool tagEndBool
)
Parameters
- text
- Type: SystemString
待处理的字符串 - tagStart
- Type: SystemString
开始标签 - tagStartBool
- Type: SystemBoolean
是否包含开始标签 - tagEnd
- Type: SystemString
结束标签 - tagEndBool
- Type: SystemBoolean
是否结束结束标签
Return Value
Type:
String处理后的字符
See Also