Get a weighted score of similarity of two string

string:similarity_score(STRING $string1, STRING $string2) : INT

string:similarity_score('hello','h')
#=> 0

string:similarity_score('hello','llo')
#=> 10

string:similarity_score('hello','ellooo')
#=> 10

string:similarity_score('hello','hello')
#=> 200

Copyright ©2013-2022 SunSed®. All rights reserved.