Sdílet prostřednictvím


Assert.ReplaceNullChars(String) Method

Definition

Replaces null characters ('\0') with "\0".

public:
 static System::String ^ ReplaceNullChars(System::String ^ input);
public static string ReplaceNullChars (string input);
static member ReplaceNullChars : string -> string
Public Shared Function ReplaceNullChars (input As String) As String

Parameters

input
String

The string to search.

Returns

The converted string with null characters replaced by "\0".

Remarks

This is only public and still present to preserve compatibility with the V1 framework.

Applies to