关于字符串的无缝合并,请高手指点。
Dim strOne As String
Dim strTwo As String
Dim strThree As String
Dim strFour As String
strOne = "I"
strTwo = " love "
strThree = "csdn ."
'这样赋值strFour中的字符串不在连续的内存块中。
strFour = strOne & strTwo & strThree
'求如何使三个值合并到一个连续的内存块中,并赋值给strFour
'我用CopyMemory操作,一直不能得到正确的值。看来对这个函数还是理解的不够透彻,请指教!