From a1366d5d9c62f9f22fd6a6cd08e4c7172b7a1141 Mon Sep 17 00:00:00 2001 From: Sean Coates Date: Thu, 2 Dec 2004 17:52:04 +0000 Subject: [PATCH] added example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173968 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/levenshtein.xml | 72 +++++++++++++++++++-- 1 file changed, 67 insertions(+), 5 deletions(-) diff --git a/reference/strings/functions/levenshtein.xml b/reference/strings/functions/levenshtein.xml index 57601f9b3c..fe559a877a 100644 --- a/reference/strings/functions/levenshtein.xml +++ b/reference/strings/functions/levenshtein.xml @@ -1,9 +1,9 @@ - + - levenshtein + levenshtein Calculate Levenshtein distance between two strings @@ -48,14 +48,14 @@ insert, replace and delete operations needed to transform str1 into str2. - + A second variant will take three additional parameters that define the cost of insert, replace and delete operations. This is more general and adaptive than variant one, but not as efficient. + + + <function>levenshtein</function> example + + +]]> + + + &example.outputs; + + + + See also soundex, similar_text, and