自己用到的一个字符串替换函数

将空格和/替换为-,生成静态页用的
Function tihuan(str)
tihuan=replace(replace(str,"/","-")," ","-")
End Function