String Analyzer Program



The String Analyzer application uses many VB6 string functions to work with strings. The program displays strings in many forms.

             
                                                   >> DOWNLOAD


Screenshot:
String functions, methods


Code:
Private Sub cmdCapital_Click()
    txtMsg.Text = UCase(txtMsg.Text)
End Sub
________________________________________________
Private Sub cmdClear_Click()
    txtMsg.Text = ""
End Sub
________________________________________________
Private Sub cmdLength_Click()
    txtLength.Text = Len(txtMsg.Text)
End Sub
________________________________________________
Private Sub cmdShow_Click()
    Text5.Text = Left(txtMsg.Text, Val(Text4.Text))
End Sub
________________________________________________
Private Sub cmdShow2_Click()
    Text7.Text = Right(txtMsg.Text, Val(Text6.Text))
End Sub
________________________________________________
Private Sub cmdShow3_Click()
    Text10.Text = Mid(txtMsg.Text, Val(Text8.Text), Val(Text9.Text))
End Sub
________________________________________________
Private Sub cmdSmall_Click()
    txtMsg.Text = LCase(txtMsg.Text)
End Sub
________________________________________________
Private Sub cmdTrim_Click()
    txtMsg.Text = Trim(txtMsg.Text)
End Sub
________________________________________________   
Private Sub Text3_Change()
    Label3.Caption = InStr(txtMsg.Text, Text3.Text)
End Sub