开发者

Jquery custom string comparison function with output percentage

I am looking to write a function in Jquery that compares two 开发者_高级运维strings and returns a percentage of similarity..exactly like the PHP function similar_text:

http://www.php.net/manual/en/function.similar-text.php

Ideas on how to tackle this with Jquery/Javascript? Thanks!


PHP.JS have it: http://phpjs.org/functions/similar_text:902

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜