Please can somebody translate me this peice of code:
|
So far I have it figured that the input string is read from left to right, and for str, each character is converted to its relevant ASCII value (is this correct?)
From there, str2 is incase no string exists for TextSubjectA
And then str3 has me baffled.
Anybody wish to share with me how this code actually works?
Regards :)
Blocked AccountPosted Nov 16, 2010, 1:51 AM
for str, single character is converted to its relevant ASCII value.
Same is happen for str2 , taking ASCII value for characters(Here fix string is AMEND, you have to make it large like AMENDING)
and str3 we are taking the difference of ASCII value.
and making the format like that 1245/2543/475812
and in last line the value you got is converted to datetime.
This is the working og this code, but still i didn't get the purpose of code.
Anybody wish to share with me how this code actually works?
WillPosted Nov 16, 2010, 5:40 AM
I had worked out that it was subtracting from the ASCII value of each character in the str2 "string" moments before you post, and have since made the code work how I required :)
Regards :)