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 11:01] – external edit 127.0.0.14rpl:commands:split [2024/04/13 14:27] (current) – delimiter is char based Vertu
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: 2021/01/08 11:01 by 127.0.0.1