User Tools

Site Tools


4rpl:commands:split

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:split [2021/11/27 12:55] Karsten754rpl: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]]+<=[[4rpl:start#strings| Strings]]
  
  
Line 8: 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.1638017726.txt.gz · Last modified: 2025/02/14 14:56 (external edit)