# Pitch: String Gaps and Missing APIs

**URL:** <https://forums.swift.org/t/pitch-string-gaps-and-missing-apis/20984>\
**Category:** Pitches\
**Created:** [February 27, 2019, 11:08pm UTC](https://forums.swift.org/t/pitch-string-gaps-and-missing-apis/20984 "2019-02-27T23:08:55Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Michael\_Ilseman](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/michael_ilseman/32/44640_2.png) [@Michael\_Ilseman](https://forums.swift.org/u/Michael_Ilseman)\
**Post date:** [March 1, 2019, 11:57pm UTC](https://forums.swift.org/t/pitch-string-gaps-and-missing-apis/20984/15 "2019-03-01T23:57:53Z")

</div>

Hah, I should of scrolled down further. I think we should still add `isASCII`. For determining if a byte is a leading byte of a multi-code-unit sequence, it can be done with `!isASCII && !isContinuation`. I don't know if we'd still want a `isLeadByte` and if so, what we should name it. `isLead` makes it feel like it's made out of Pb, `isLeading` is much better but at odds with `UTF16.isLeadSurrogate`, and as @bobergj pointed out, it might not be worth adding at this point.

---

_[View the full topic](https://forums.swift.org/t/pitch-string-gaps-and-missing-apis/20984)._
