-
property text; // append a ascii char // remove last ascii char() |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Sep 30, 2024
Replies: 1 comment 1 reply
-
This feature is currently missing. It's also missing on SharedString rust though let ch = the_string.chars().rev().next()?;
let newlen = the_string.len() - ch.len_utf8();
the_string = the_string[..newlen].into(); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fluolite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This feature is currently missing.
You'll have to do that in native code
It's also missing on SharedString rust though
something like so should work: