Hi,
I am working on a Vb6 to
Vb.net conversion project. In VB6, there is code like -
Code:
Dim strCompName as string
strCompName = New String(chr(0),255)
strCompName = Left(strCompName ,InStr(1, strCompName ,chr(0)) -1) ' remove the 'unnecessary chr(0)'s
Can any one tell me what will be the eqivallent of this in
Vb.net??
shall I use
Code:
strCompName =strCompName .replace(chr(0),"')
??
or anything else??
Thanks,
Sumith