<pre>function filterWebData dbData  ----  -- url decoding of each cell  ----  repeat with x = 1 to the number of lines of dbData    repeat with y = 3 to the number of items of line x of dbData      set the itemDelimiter to tab      put filterNumerically(item y of line x of dbData) into temp      set the itemDelimiter to tab      put temp into item y of line x of dbData      repeat while (last char of item y of line x of dbData is space) or (last char of item y of line x of dbData is ".")        delete last char of item y of line x of dbData      end repeat    end repeat  end repeat  ----  -- case of first and last name of each user :  ----  repeat with x = 1 to the number of lines of dbData    repeat with y = 1 to 2      repeat with z = 1 to the number of words of item y of line x of dbData        put upperCase (char 1 of word z of item y of line x of dbData) into char 1 of word z of item y of line x of dbData        repeat with w = 2 to the number of chars of word z of item y of line x of dbData          put lowerCase (char w of word z of item y of line x of dbData) into char w of word z of item y of line x of dbData        end repeat      end repeat    end repeat  end repeat  ----  -- remove spaces :  ----  repeat with x = 1 to the number of lines of dbData    repeat with y = 3 to the number of items of line x of dbData      repeat with z = the number of chars of item y of line x of dbData down to 1        if char z of item y of line x of dbData is space then delete char z of item y of line x of dbData      end repeat    end repeat  end repeat  ----  return dbData  ----end filterWebData</pre>