在有些时候回车是由 chr(13)+chr(10) 组成的,试试
replace all mymome with strtran(mymemo,chr(13)+chr(10),"") && 去掉回车换行符
replace all mymome with strtran(mymemo,chr(13),"") && 去掉回车符
replace all mymome with strtran(mymemo,chr(10),"") && 去掉换行符
replace all mymome with strtran(mymemo," ","") && 去掉回空格