Skip to tool

Assembly Partition at first separator Online

Split into (before, separator, after) at first separator.

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 the separator is absent, the original text is first.

Separator
"/"
Sample input
manuals.plus/docs
Sample output
["manuals.plus","/","docs"]

Using this operation in Assembly

The interactive result uses JavaScript. Choose an instruction set, calling convention, and input representation before implementing the algorithm. Treat input and output as byte buffers with explicit lengths.

Assembly reference