JHString Methods

DCSoft.DBUtilityGeneric

JHString Methods

The JHString type exposes the following members.

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