Mega Code Archive

 
Categories / Php / Strings
 

Determine the similarity between two strings is provided by the similar_text function

<?php     $matches = similar_text ('see', 'say', &$per);     echo "Matches: $matches - Percentage: $per\n"; ?>