As I commented in the other thread, anyone seeking to index strings this way is probably making a mistake, because Unicode is too complicated for character indexing to be useful.
stevengj
14
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Substring function? | 42 | 4414 | July 18, 2022 | |
| Indexing strings by Unicode code point instead of code unit? | 14 | 2765 | January 12, 2024 | |
| Julia substring return empty string | 8 | 1111 | April 23, 2019 | |
| Replacing strings in specific position indices as in `str_sub()` in `stringr` | 9 | 1958 | November 14, 2022 | |
| Weird string slicing in korean | 3 | 512 | December 29, 2022 |