You could set a condition inside the loop, using INSTR function to determine the existence of '/' in the data....