The Pig's Snout
The animal you are likely thinking of is the pig. Pigs have a short, fleshy snout—sometimes called a truffle—which they use to root around in dirt searching for food.
Function Over Form
Although it is not technically a trunk like an elephant's, the pig's snout serves a similar purpose and appearance, making it a useful tool for foraging.