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 | 4349 | July 18, 2022 | |
| Indexing strings by Unicode code point instead of code unit? | 14 | 2705 | January 12, 2024 | |
| Julia substring return empty string | 8 | 1083 | April 23, 2019 | |
| Replacing strings in specific position indices as in `str_sub()` in `stringr` | 9 | 1922 | November 14, 2022 | |
| Weird string slicing in korean | 3 | 505 | December 29, 2022 |