VB.NET String Copy()

Copy(ByVal str As String) As String
Creates a new instance of System.String with the same value as a specified System.String.

Return Values :
A new System.String with the same value as str.

Ex :


Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click

Dim Str1 As String = "vbcodesblog"
Dim Str2 As String

MsgBox(Str2.Copy(Str1))

End Sub

End Class


When you execute this code, you will get vbcodesblog in the MessageBox
Anda baru saja membaca artikel yang berkategori VB.Net dengan judul VB.NET String Copy(). Anda bisa bookmark halaman ini dengan URL http://vbcodesblog.blogspot.com/2012/08/vbnet-string-copy.html. Terima kasih!
Ditulis oleh: izzel aza - Sunday, August 05, 2012

Belum ada komentar untuk "VB.NET String Copy()"

Post a Comment