hi, i hv a mozilla extension which auto fills forms. i want to compare a form field with the already saved list of user preferences to check if it is saved already. i can prefHasUserValue() but i want to know how to match substrings. For eg, if fname is stored and i hv a field name how to match name n fname? Can somebody plz help me??