Too many arguments to `LTrim`
I am getting an error in my program.
Too many arguments to Public Function LTrim(str As String) As String.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim fortrim As String
Dim trimed As String
fortrim = TextBox1.Text
trimed = LTrim(fortrim, 3)
' ^^^ '
' error appears here
TextBox2.Text = trimed
Help is appreciated. I can't find a workaround.
No comments:
Post a Comment