what is the .net equivalent of the VB string function?
S = String(5,"x") 'S = "xxxxx"
Printable View
what is the .net equivalent of the VB string function?
S = String(5,"x") 'S = "xxxxx"
Here you go :
VB Code:
Dim s As String = "" s = s.PadLeft(5, "x") MessageBox.Show(s)
Thank you very much
Robb