# \`endOfPrefix(while:)\` and \`startOfSuffix(while:)\` should be public instead of internal

**URL:** <https://forums.swift.org/t/endofprefix-while-and-startofsuffix-while-should-be-public-instead-of-internal/56855>\
**Category:** Algorithms\
**Created:** [April 20, 2022, 8:51pm UTC](https://forums.swift.org/t/endofprefix-while-and-startofsuffix-while-should-be-public-instead-of-internal/56855 "2022-04-20T20:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![young](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/young/32/7878_2.png) [@young](https://forums.swift.org/u/young)\
**Post date:** [April 20, 2022, 8:51pm UTC](https://forums.swift.org/t/endofprefix-while-and-startofsuffix-while-should-be-public-instead-of-internal/56855/1 "2022-04-20T20:51:18Z")

</div>

as discuss: [Should there be BidirectionalCollection.dropLast(while:)? - #11 by young](https://forums.swift.org/t/should-there-be-bidirectionalcollection-droplast-while/48059/11)

[bug.swift.org](http://bug.swift.org) is being migrated to GitHub, the[repo](https://github.com/swift-issues-migration/swift-issues/issues) is locked right now so cannot create issue yet?
