This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:substring [2021/05/21 03:16] – [Substring] Changed "lenth" to "length" Argonwolf | 4rpl:commands:substring [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | < | ||
====== Substring ====== | ====== Substring ====== | ||
Line 8: | Line 10: | ||
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 ===== |