On Jun 9, 2006, at 1:57 PM, Theodore H. Smith wrote:
From: Charles Yeomans <[EMAIL PROTECTED]>
dim module_msr_common as msr
function RemoveCommonWords() as MSR
if module_msr_common = nil then
module_msr_common = new msr
module_msr_common.add "and", nil
/// etc etc
end if
return module_msr_common
end function
This way, you make it all nice and fast :)
But possibly not what was wanted, as Didier pointed out. RegEx is
the right tool for this.
My code is easier to write, faster, and runs on all platforms. How
could it not be the right tool?
If it does not distinguish between "and" and "band" when replacing --
presumably it would reduce "KC and the Sunshine Band" to "KC the
Sunshine B".
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>