Hi,
I have a need to remove html codes from a text (memo) string. For eg:
Here is the string:
This is part one of the string <DIV style="padding:5px; FLOAT: middle; MARGIN: 5px; WIDTH: 88; BACKGROUND-COLOR: #cccccc; height:8">
<font color="#CC0000">don't care what's the text enclosed here...</font></DIV> and this is part two.
The requirement is to remove the text enclosed within the "<DIV... and ...</DIV>, and the final text should appear as "This is part one of the string and this is part two.". The actual text that I need to process contains more than one occurance of such html code in different places of the memo field.
I've been trying to modify the WordCount() function from http://www.access-programmers.co.uk/forums/showpost.php?p=213511&postcount=12 for a while now. But I'm not much of a programmer. Could anyone help as I believe it's a pretty easy thing to do for those of you out there who are programmers.
Thanks...
I have a need to remove html codes from a text (memo) string. For eg:
Here is the string:
This is part one of the string <DIV style="padding:5px; FLOAT: middle; MARGIN: 5px; WIDTH: 88; BACKGROUND-COLOR: #cccccc; height:8">
<font color="#CC0000">don't care what's the text enclosed here...</font></DIV> and this is part two.
The requirement is to remove the text enclosed within the "<DIV... and ...</DIV>, and the final text should appear as "This is part one of the string and this is part two.". The actual text that I need to process contains more than one occurance of such html code in different places of the memo field.
I've been trying to modify the WordCount() function from http://www.access-programmers.co.uk/forums/showpost.php?p=213511&postcount=12 for a while now. But I'm not much of a programmer. Could anyone help as I believe it's a pretty easy thing to do for those of you out there who are programmers.

Thanks...