Function Ubb
ON ERROR RESUME NEXT
if Not str<>"" then exit function
tmpstr="uNobwab"
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
if showemot then
for i=
str=replace(str
str=replace(str
next
End if
if showimg then
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
str=UbbStr(str
End if
str=UbbStr(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
str=replace(str
Ubb
End Function
From:http://tw.wingwit.com/Article/program/net/201311/14342.html