Dim strTest As String * 200
    strTest = "dd"
    
    MsgBox "-" & Trim(strTest) & "-"用Trim就把空格去掉了.