str_stri was your problem right? (because it is str_cmpi) and you forgot to blend out the second text if the first one gets visible...