jed_fox1’s Twitter Archive
— № 836
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @simonbs
@
simonbs
String.Index(idx, within: str.utf16)
On twitter.com
2021 Jan 20
Mood
0
…in reply to @jed_fox1
@
simonbs
or idx.utf16Offset(in: str) To make idx, it looks like you can do str.index(str.startIndex, offsetBy: 42)
Permalink
On twitter.com
2021 Jan 20
Mood +
2
🙂