This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Robert
fnordfish.ruby.social.ap.brid.gy
did:plc:7i5mwj43t2c45bgan34bpczn
#Ruby String misses a `rsplit` method - like `split` but from the right.
```ruby
class String
# like split(sep, 2) but from the right
def rsplit2(sep)
head, sep, tail = rpartition(sep)
head, tail = tail, nil if sep.empty?
[head, *tail]
end
end
```
2025-02-18T15:45:36.372Z