GOLF(2gg)
π GOLF(2gg) β read-split π
okay bestie, welcome to the GOLF(2gg) page, Development section, and we're talking about read-split today. it's giving string-surgery. slay. π
β¨ NAME β¨
read-split β (strings)
π PURPOSE π
Obtain split string pieces. that's the whole job. she's a piece-getter. π
π¦ SYNTAX π¦
read-split <piece number> from <split string> to <piece> [ status <status> ]
πΈ DESCRIPTION πΈ
so read-split will read split string pieces from <split string>, and that <split string> is produced by split-string. like, split-string did the chopping, and read-split comes in and grabs one of the lil pieces. iconic duo fr fr. π«Ά
<piece number> is the number (starting with 1, not zero, we're not doing that today) of the piece to retrieve in string <piece>.
the <status> number (in the status clause) is GG_OKAY if successful, or GG_ERR_OVERFLOW if <piece number> is not valid β meaning it's outside of the range of pieces parsed by split-string. so if you ask for piece 99 when there's only 3, that's a no from her. π
π₯ EXAMPLES π₯
See split-string. (yes literally just go look at split-string, she has the receipts π)
π SEE ALSO π
- Strings
and the whole string squad, periodt:
concatenate-stringscopy-stringcount-substringdelete-stringlower-stringnew-stringread-splitreplace-stringset-stringsplit-stringstring-lengthtrim-stringupper-stringwrite-string
See all documentation. πβ¨
lowkey a whole family of string functions and they all live in the same group chat. iykyk. π
k bye bestie, this page was brought to you on $DATE and it's version $VERSION of GOLF(2gg). mwah πβ¨π
π¦ where this page comes from
- ubuntu questing: golf 601.4.41-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms