|
farha,
I think it would be a better idea to have 2 or 3 text boxes to store the name of the user, for example: txtFirstName and txtLastName. The reason for this is because you will never know if the user may entered their name differently in different manners.
Then to display the names, in reversed format, the coding is simply,
lblOutput.Caption = trim(txtFirstName.Text) & ", " & _
trim(txtFirstName.Text)
The trim function is to remove any blank space in front and behind the text.
I hope this helps.
|