Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: stonysmithOne way of doing this is to remove those characters and then compare the two string lengths.
fields = strlen(Meter) - strlen(Meter.replace("�",""))
another way would be to convert the field to an array and then return the length
Meter_array = Meter.split("�")
fields = len(Meter_array)