GOLF(2gg)

πŸ“¦ version 601.4.41, in ubuntu questing

πŸ’– 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-strings
  • copy-string
  • count-substring
  • delete-string
  • lower-string
  • new-string
  • read-split
  • replace-string
  • set-string
  • split-string
  • string-length
  • trim-string
  • upper-string
  • write-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