chickadee » byte-sequence » byte-sequence-span-while

byte-sequence-span-while F BYTE-SEQUENCEprocedure

Returns two values, the longest prefix of the given byte-sequence whose bytes all satisfy the predicate F, and the remainder.