searchElStr5 functions implemented