A diagnostic procedure that checks for abnormalities such as bleeding in the upper gastrointestinal tract. The patient swallows a nylon string encased in a gelatin capsule, which passes down as far as the duodenum. After 3-4 hours, the line is withdrawn and stripped of blood, bile, or other matter, which is then examined; also called a string test.