i = Len(Trim(Text1.Text))
s2 = i
Do Until s1 = InStr(5, Text1.Text, ":\")
s1 = InStrRev(Text1.Text, ":\", s2)
i = s1 - 2
Text2.Text = Text2.Text + Chr(13) + Chr(10) + Mid(Text1.Text, i, s2 - i)
s2 = i
Loop
Text2.Text = Text2.Text + Chr(13) + Chr(10) + Left(Text1.Text, i)
[此贴子已经被作者于2018-10-25 00:21编辑过]