Hi all, I have a Calculate Field/Python question. I need to apply fuzzy logic to match addresses. I have two fields, both are for street numbers. I need a script that calculates how many numbers are off between the two fields in terms of number placement, not subtraction. So if one field is 831 and the second field is 842, the result calculation (in a third field) would be 2, because the second and third place numbers are different. If all numbers were different, it would be 3, if none were different it would be 0.
I'm a super newb when it comes to Python but I do have some working knowledge, just not sure how to conceptualize this. Can anyone suggest a way of going about this task using Python and the Calculate Field option? Open to other options as well. Thank you.