Is there a method for removing `n` characters from the left or right of a string? Similar to `left` and `right` but providing the number of characters to remove rather than keep? I've had a look but I can't seem to come up with a better way than the following, which works but is a bit long-winded for a string processing library: ``` // remove the last two characters s = S('abcde') s.left(s.length - 2).s // "abc" ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by lemongrassnginger and has received 3 comments.