How to use script to count the same number of characters in different strings.How to use a script to achieve the number of characters that match the content of the data table with the content of the second table, regardless of the order, and return the row number of the second table with the most matching data.
I will only write simple loop comparisons.
How can it be faster if the number of strings to be compared is large.
Thanks!
ScriptingRe: 怎样用脚本计算不同字符串中字符相同的个数。For example,
string for the first table
"KDBAC"
"FLGHEK"
"ONLCQR"
"WVTZXR"
String for the second table
"ROMNLQ"
"DFBACE"
"LKGHJK"
"WVTZYX"
Re: 怎样用脚本计算不同字符串中字符相同的个数。
Re: 怎样用脚本计算不同字符串中字符相同的个数。Can there be duplicated characters in the strings?