in reply to Substring comparison

FOUND IT!
Rookie(which I am) mistake, needed to chomp() in the arrays since the extra whitespace was really messing with the string comparisons
Thanks to everyone's help and ideas!