Tuesday, 15 October 2013

Example program to store the string in REVERSE ORDER...

Example program for storing the strings in reverse order.

We saw in previous post about string variables..
We know how to design the form and code for the button to append the 2 strings.
This is the code for the Storing and appending the strings in TEXTBOX in REVERSE ORDER..

        Dim FirstName As String
        Dim LastName As String
        Dim FullName As String

        FirstName = "Geetha"
        LastName = "Rani"

        FullName = LastName & " " & FirstName

        TextBox1.Text = FullName

This is the form design:

This is the code:

This is the output when you run the FORM:

<---- Previous page                                    Next page ---->