public abstract class StringHelper extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int stringDifference(String s1, String s2)
s1
- The first string to compares2
- The second string to compareCopyright © 2024 GATE. All rights reserved.