Creates a new string by copying another string.
[Visual Basic] Public Shared Function Copy( _ ByVal str0 As String _ ) As String [C#] public static string Copy( string str0 ); [C++] public: static String* Copy( String* str0 ); [JScript] public static function Copy( str0 : String ) : String;
The new string.
The Copy method makes a duplicate of a specified string. If the value is null, a string is created that is initialized to null string.
String Class | String Members | System Namespace | MemberValueEnum | Empty | DBNull