remove strEndsWithPartOfAnotherStr