PHP Class Project

Home Control Structures String Functions Web Forms State Information About
Home Control Structures String Functions Web Forms State Information About This Project

String Functions

This module compares two strings using the Levenshtein and Similar-Text methods.

The Levenshtein distance indicates the number of single-character edits (insertions, deletions, or substitutions) required ot change one word to the other.)

The PHP similar_text function returns the number of characters the words have in common.

String 1:
String 2: