php string contains

pre: needleman wunsch
next: foreign table