Here's a foolproof (but little-known) way to devein a raw shrimp without removing its shell or cutting into it. Insert a toothpick between the two middle shell segments. Slide the tip of the toothpick just underneath the vein (which is actually the shrimp's digestive tube) and lift slowly. Unless it's broken, the entire vein will emerge in a single piece. Guaranteed.