in vb6 you could assign a string a string of values ie the following
VB Code:
Dim sTmp As String sTmp = String(255, 0)
how can this be done in vb.net?????
thanx
Printable View
in vb6 you could assign a string a string of values ie the following
VB Code:
Dim sTmp As String sTmp = String(255, 0)
how can this be done in vb.net?????
thanx
VB Code:
Dim strTmp as String = strTmp.PadRight(255, chr(0))
Edit: Spelt String wrong ;(