Class Sample
Public Shared Sub Main()
Dim str As String
str = "test"
Console.Write("|")
Console.Write(str.PadRight(15))
Console.WriteLine("|")
Console.Write("|")
Console.Write(str.PadRight(5))
Console.WriteLine("|")
End Sub 'Main
End Class 'Sample