Expand description
The byte-level work of STRING, UNSTRING and INSPECT, apart from storage and operands.
Structs§
- Phrase
- One INSPECT phrase, resolved to bytes:
patternis empty for CHARACTERS.
Functions§
- delimited
- STRING’s view of a sending item: all of it for DELIMITED BY SIZE, or up to the delimiter.
- inspect
- Scans
dataleft to right; at each position the first phrase that applies and matches takes the characters it matches. Returns how many times each phrase matched, replacing as it goes when phrases carry a BY value. - next_
delimiter - Where the next UNSTRING field ends and which delimiter ended it: the earliest position at or
after
fromwhere any delimiter matches, the first listed winning at a tie. - past_
delimiter - The end of a delimiter at
at, taking every repetition when it is DELIMITED BY ALL. - region
- The region
[start, end)ofdatathat BEFORE and AFTER INITIAL leave: BEFORE ends it at the first occurrence of its value, AFTER starts it after the first occurrence of its value (or leaves nothing when the value does not occur).