This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:split [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:split [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < |
| + | < | ||
| ====== Split ====== | ====== Split ====== | ||
| Line 6: | Line 8: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Takes two strings from the stack and splits the first wherever the second occurs. Returns a list of strings. | + | Takes two strings from the stack and splits the first wherever the second occurs. Returns a list of strings.\\ |
| + | Note that the delimiter will split the string for every char within the delimiter. So if the delimiter is " | ||
| ===== Examples ===== | ===== Examples ===== | ||