Article 5RC9T How to know if a variable is similar to another

How to know if a variable is similar to another

by
pedropt
from LinuxQuestions.org on (#5RC9T)
imagining that i have 2 variables similar but not equal , how is the code written to know this ?

I have been trying to figure out how to start but i have no idea .

assumming :

Quote:
var1="Yes i know it for sure"
var2="Yes i know is for real"
There are very similarities in these 2 variables , how can this be done without writing the code specifically to these 2 var text .latest?d=yIl2AUoC8zA latest?i=KhuhUZsNzMM:L6xqeFcRb6c:F7zBnMy latest?i=KhuhUZsNzMM:L6xqeFcRb6c:V_sGLiP latest?d=qj6IDK7rITs latest?i=KhuhUZsNzMM:L6xqeFcRb6c:gIN9vFwKhuhUZsNzMM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments