| 97 | } |
| 98 | |
| 99 | UString insert_codepoints(const UStringView str, size_t offset, const UStringView insert) |
| 100 | { |
| 101 | auto u32str = to_u32string(str); |
| 102 | auto u32insert = to_u32string(insert); |
| 103 | u32str.insert(offset, u32insert); |
| 104 | return to_ustring(u32str); |
| 105 | } |
| 106 | |
| 107 | int Strings::toInteger(const UStringView s) |
| 108 | { |