Share via


SPStringUtility.RemoveControlChars method

Removes control characters from the specified string.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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