Hi all, Is it possible to compare 2 chunk of text and highlight the difference 
in the second chunk? 

e.g.<cfset textChunk1 = "My name is Abi"> 
<cfset textChunk2 = "My name is Abigail today"> 

comPareString(textChunk1,textChunk2) 

The output should then be "My name is <b>Abigail today</b>" - i.e. "Abigail 
today" been highlighted or whatever you want to do with the added text...is 
there a function in ColdFusion to this? 

Many thanks, 

Abi. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306138
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to