User Tools

Site Tools


4rpl:commands:split

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:split [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:split [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<=[[4rpl:start#strings| Strings]] 
  
 ====== 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 "ab" it will split the string for every individual `a` and `b` encountered, not every "ab".
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/split.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)