checking for duplicate occurrence of char sequence within breadcrumb creation