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
4rpl:commands:split [2021/11/27 07:59] – Link format consistency Karsten754rpl:commands:split [2024/04/13 14:27] (current) – delimiter is char based Vertu
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.txt · Last modified: 2024/04/13 14:27 by Vertu