Okay, I'm trying to strip out html entity codes that don't play nicely with
RTF for a "download as word doc" feature. I have it working for a bunch of
them, but this one doesn't work:
str = replace(str, '&##61623;', 'chr(10)', 'All');

And this one only works sometimes:
str = replace(str, '&##8211;', '-', 'ALL');

Where as all these work:
str = replace(str,"&##8217;", "'", "ALL");
str = replace(str,'&##8220;', '"', 'ALL');
str = replace(str,'&##8221;', '"', 'ALL');
str = replace(str, '&##8212;', '--', 'ALL');
str = replace(str, '-', '-', 'ALL');
str = replace(str, '&##8230;', '...', 'ALL');
str = replace(str, "&##8216", "'", "ALL");

I'm going a little nuts here. What am I missing?

---------------------------------------------------------
Deanna Schneider
UWEX-Cooperative Extension
Interactive Media Developer

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to