RETRO Glossary


s:split-on-string

Data: ss-ss
Addr: -
Float: -

Split a string on the first occurrance of the specified string. After the split, the top stack item will be the part of the string before the specified subsring, and the second item will be the rest of the original string.

Class: class:word | Namespace: s | Interface Layer: all

Example:

'Hello_Brave_World! 'Brave s:split-on-string s:put nl s:put nl