StringHelpersafeText Method | Helper帮助文档 |
把字符串转化为安全的text内容
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string safeText( string str )
Public Shared Function safeText ( str As String ) As String
public: static String^ safeText( String^ str )
static member safeText : str : string -> string
Parameters
- str
- Type: SystemString
传入的字符串内容
Return Value
Type: String转化后结果 string
See Also