org.apache.lucene.util
public abstract class StringHelper extends Object
Method Summary | |
---|---|
static int | stringDifference(String s1, String s2)
Compares two strings, character by character, and returns the
first position where the two strings differ from one another.
|
Parameters: s1 The first string to compare s2 The second string to compare
Returns: The first position where the two strings differ.