类库说明文档
![]() |
JHString Methods |
The JHString type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() ![]() |
GetWithoutHTML |
返回一个字符串,该字符串已经去除 HTML 相关标记
|
![]() ![]() |
IsMatched |
获取一个值,该值指示匹配是否成功
|
![]() ![]() |
ReplaceNewline(String) |
去除字符串中的换行符
|
![]() ![]() |
ReplaceNewline(String, String) |
去除字符串中的换行符
|
![]() ![]() |
ReplaceRegex |
从输入字符串中的第一个字符开始,用替换字符串替换指定的正则表达式模式的所有匹配项。
|
![]() ![]() |
Substring(String, Int32) |
返回指定长度的字符串,并按照半角字符占一个长度,全角字符占两个长度的原则截取
|
![]() ![]() |
Substring(String, Int32, String) |
返回指定长度的字符串,并按照半角字符占一个长度,全角字符占两个长度的原则截取
|
![]() |
ToString | (Inherited from Object.) |
