C
cmdolcet69
The code below is suppose to work were if a user enters a value in the
text box > 12 characters long it will hit this loop and truncate the
value to only 12 characters long....however this doesn;t happen...what
do i need to do?
If txtRightLabel.Text.Substring(0, 12) Then
Dim Righttextlable As String
Righttextlable = txtRightLabel.Text
txtRightLabel.Text =
Righttextlable.Substring(Righttextlable.Length - 12)
End If
text box > 12 characters long it will hit this loop and truncate the
value to only 12 characters long....however this doesn;t happen...what
do i need to do?
If txtRightLabel.Text.Substring(0, 12) Then
Dim Righttextlable As String
Righttextlable = txtRightLabel.Text
txtRightLabel.Text =
Righttextlable.Substring(Righttextlable.Length - 12)
End If