Ran into something that baffles me. I have a rtf textbox and am trying to allow for the use of the apostrophe ('). Did a svar = replace(svar," ' ",chr(180)). That works for a last name such as O'Rourke. However, when using the same replace method for a contraction (we're) the letters "b4" were inserted each time - (we'b4re).
Next I changed the replacement to chr(146) and it seems to have solved the problem.
Any one have any explanation why one works and the other does not? Also is chr(39) the apostrophe being replaced?
Thanx.
Kim
Next I changed the replacement to chr(146) and it seems to have solved the problem.
Any one have any explanation why one works and the other does not? Also is chr(39) the apostrophe being replaced?
Thanx.
Kim