search prefix/suffix