by OMKAR K. YADAV (4 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 23rd September 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Lpad And Rpad (Pading the Character)
For i = 1 To Size - Len(Expresion)
Expresion = Expresion & Pad
Rpad = Expresion
End Function
Public Function Lpad(Expresion As String, Size As Integer, Pad As String) As String
For i = 1 To Size - Len(Expresion)
Expresion = Pad & Expresion
Lpad = Expresion
End Function