nonguru et. al : it really depends on what you want to achieve:
If you want to reverse the text as a whole, whilst keeping the NewLines, you can try this:
Private Sub Command1_Click()
' Reverses a Multiline text in its entirety
' with respect for vbCrLf's
Dim vbLfCr As String
vbLfCr = StrReverse(vbCrLf)
Text2.Text = Replace(StrReverse(Text1.Text), vbLfCr, vbCrLf)
End Sub
If to the contrary, you want to reverse the text line by line, then this is a fast and valid (VB6) alternative:
Private Sub Command2_Click()
' Replaces a multline text, line by line
' If vbCrLf's are present
Dim a_str() As String
a_str = Split(Text1.Text, vbCrLf)
Dim i As Integer
For i = 0 To UBound(a_str)
a_str(i) = StrReverse(a_str(i))
Next
Text2.Text = Join(a_str, vbCrLf)
End Sub
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]