而论如何,二楼的回答是很有新意的,赞一个!为你写个函数,使用起来会比较简洁,而且可以处理非数字字符。Function Intersect(text1 As String, text2 As String) As StringDim result As String, shorter As String, longer As Stringresult = ""If Len(text1) <= Len(text2) Then
shorter = text1
longer = text2Else
shorter = text2
longer = text1End If...