Finding if two strings are almost similar

后端 未结 6 1383
小鲜肉
小鲜肉 2020-12-29 10:00

I want to find out if you strings are almost similar. For example, string like \'Mohan Mehta\' should match \'Mohan Mehte\' and vice versa. Another example, string like \'Um

6条回答
  •  粉色の甜心
    2020-12-29 10:19

    You could split the string and check to see if it contains at least one first/last name that is correct.

提交回复
热议问题