Algorithm

The algorithm returns:

  • 0.0 if either strings are of length 0 or null
  • 1.0 if the lowercase version of the first character of each string are equal
  • 0.0 otherwise
  • No labels