Returns the length of the longest common prefix between two strings.
The first string to compare.
The second string to compare.
The length of the longest common prefix between the two strings.
Returns the length of the longest common prefix between two strings.