We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] ABAP Code to Highlight Differences Between Two Words

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from Bernard_Garnier on Aug 22 at 2:50 AM
Thank you Soeren,

But this function module does a basic comparison of two strings, and returns only FALSE or TRUE.

I need a much more sophisticated comparison for 2 words, like this one:
http://www.raymondhill.net/finediff/viewdiff-ex.php

Or like this one: http://myerslab.mpi-cbg.de/wp-content/uploads/2014/06/np_diff.pdf .

These two examples are far too complex for me to be translated in ABAP!

So, if someone has such a comparison of two words in ABAP, thank you to share!

---------------Original Message---------------
From: Bernard_Garnier
Sent: Friday, August 19, 2016 5:00 AM
Subject: ABAP Code to Highlight Differences Between Two Words

Hello ABAP experts!

I'm searching for some ABAP code (or a function module) to highlight the differences between two words.

Missing characters could be displayed for example in red (bold italic here, as there are no colors), and different or additional characters in green (underlined here).

For example, if I compare ABCDEFG and AACEFG the result should be:

ABACDEFG

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
© 2016 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
Bernard_Garnier  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language