However, it's not a filter in the sense of cleaning the gasoline itself. It's a *vapor canister* that collects fuel vapors to prevent them from escaping into the atmosphere. The actual fuel filter is usually located near the fuel pump, which is in the fuel tank itself on many vehicles of that era. To access and replace it usually requires dropping the fuel tank.
To be certain of its location, consult a repair manual specific to your 1989 Dodge D100 with the 318 engine. A diagram will clearly show its position. You can find these manuals online or at auto parts stores.