S
Simon Harris
Hi All,
I am trying to write a function that will remove all carriage returns from
a
string, so that the string of words can be used as meta keywords.
So far I have:
Function RemoveCR(strText)
strText = Replace(strText,chr(13),"")
strText = Replace(strText,chr(10),"")
strText = Replace(strText,vbCrLf ,"VISUALBASIC")
RemoveCR = strText
End Function
My string still ends up with carriage returns in it though! I don't get
it,
what did I miss?
Thanks,
Simon.
I am trying to write a function that will remove all carriage returns from
a
string, so that the string of words can be used as meta keywords.
So far I have:
Function RemoveCR(strText)
strText = Replace(strText,chr(13),"")
strText = Replace(strText,chr(10),"")
strText = Replace(strText,vbCrLf ,"VISUALBASIC")
RemoveCR = strText
End Function
My string still ends up with carriage returns in it though! I don't get
it,
what did I miss?
Thanks,
Simon.