Thanks to Sir DinkALot http://www.badmintoncentral.com/forums/showthread.php?t=29129&highlight=string+pattern