maybe this code can be converted in any other language except in javascript and VBA:
public object Tryme(mycell)
{
mylen = Strings.Len(mycell);
for (j = 1; j <= mylen; j++) {
mytest = Strings.UCase(Strings.Mid(mycell, j, 1));
if (Strings.InStr(1, "AIJQY", mytest) > 0) {
mysum = mysum + 1;
} else if (Strings.InStr(1, "BKR", mytest) > 0) {
mysum = mysum + 2;
} else if (Strings.InStr(1, "CGLS", mytest) > 0) {
mysum = mysum + 3;
} else if (Strings.InStr(1, "DMT", mytest) > 0) {
mysum = mysum + 4;
} else if (Strings.InStr(1, "EHNX", mytest) > 0) {
mysum = mysum + 5;
} else if (Strings.InStr(1, "UVW", mytest) > 0) {
mysum = mysum + 6;
} else if (Strings.InStr(1, "OZ", mytest) > 0) {
mysum = mysum + 7;
} else if (Strings.InStr(1, "FP", mytest) > 0) {
mysum = mysum + 8;
}
}
return mysum;
}
Related Tutorials/Questions & Answers:
Advertisements
ModuleNotFoundError: No module named 'Universal'ModuleNotFoundError: No module named '
Universal' Hi,
My Python... '
Universal'
How to remove the ModuleNotFoundError: No module named '
Universal' error?
Thanks
Hi,
In your python environment you
iPhone and iPad universal appiPhone and iPad
universal app I am writing a
universal application in iPhone and iPad that is not working in iPhone simulator. Though i have tested it in the iPad successfully. On running the application in the device it returns
Universal Login AuthorizationUniversal Login Authorization Hello,
I am Pradeep i need a help on login authorization.
Imean, when i use a direct link of one of my web page without providing credentials (without logging in) then i need to be redirected
fingerprint identification system on javafingerprint
identification system on java sir i want full "fingerprint ateendance management" project on java please send me source code i am asking so many members but nobody send answer one of my friend suggest ask question