R Partition at last separator Online
Split into (before, separator, after) at last separator.
Run details
The output updates as you type. The tool processes input in your browser.
Worked example
The three values are the text before the separator, the separator, and the text after it. If absent, the original text is last.
- Separator
"/"
manuals.plus/docs
["manuals.plus","/","docs"]
Using this operation in R
The interactive result uses JavaScript. Many R text functions vectorize over a character vector. Set useBytes explicitly where the function supports it and byte matching matters.