다음을 통해 공유


SPStringUtility.RemoveControlChars Method

Removes control characters from the specified string.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Function RemoveControlChars ( _
    value As String _
) As String
'Usage
Dim value As String
Dim returnValue As String

returnValue = SPStringUtility.RemoveControlChars(value)
public static string RemoveControlChars(
    string value
)

Parameters

  • value
    Type: System.String

    A string containing the control characters to be removed.

Return Value

Type: System.String
A version of the string with control characters removed.

See Also

Reference

SPStringUtility Class

SPStringUtility Members

Microsoft.SharePoint.Utilities Namespace