--- /Metaphone.java	2023-07-05 02:32:27.278157772 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 02:32:27.282157771 +0200
@@ -338,7 +338,7 @@
 		boolean matches = false;
 		if( index >= 0 &&
 		    (index + test.length() - 1) < string.length() ) {
-			String substring = string.substring( index, index + test.length());
+String substring = string.substring (  index, index + test.length() - 2  ) ;
 			matches = substring.equals( test );
 		}
 		return matches;
