This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:substring [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:substring [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== Substring ====== | ====== Substring ====== | ||
- | Substring (< | + | Substring (< |
===== Description ===== | ===== Description ===== | ||
Extracts a portion of a string into a new item on the stack. | Extracts a portion of a string into a new item on the stack. | ||
- | The command has 3 arguments. First the string to be examined, second the starting position of the substring within the original string, starting from offset 0 (zero) and thirdly the length of the extrated | + | The command has 3 arguments. First the string to be examined, second the starting position of the substring within the original string, starting from offset 0 (zero) and thirdly the length of the extracted |
===== Examples ===== | ===== Examples ===== |