$string compare

Allows you to compare two strings.


Example

Running this code will compare the Levenshtein distance of the following strings:

  • Video Training in Ten Minutes or Less!
  • Video5 Training in Ten Minutes or Less!

The Levenshtein distance is 97.44 as shown in the alert box.

alert($plugin function("Data and Files Automation.dll", "$string compare", "Video Training in Ten Minutes or Less!", "Video5 Training in Ten Minutes or Less!", "Levenshtein"))

Was this helpful?

Previous Article

$split

Next Article

$string encode/decode