Copy a String use String.Copy()

A simple way to copy a string to another is to use the String.Copy().
It works similar to assigning a string to another using the '=' operator.

str1 = String.Copy(str);
or
str1=str;

0 comments: