Next: bytevectors 8 fold, Previous: bytevectors 8 map, Up: bytevectors 8 [Index]
For every byte b, interpreted in ASCII encoding, in the selected range of B: if b is preceded by a byte representing a cased character in ASCII encoding, b is downcased; otherwise it is titlecased.
bytevector-u8-titlecase*
returns the result string and does not
alter its argument. bytevector-u8-titlecase!
is the in–place
side–effecting variant.
Note that the byte preceding bv[start]
has no effect on the
titlecase decision for byte bv[start]
.
Interpret the bytes in the selected subvector in ASCII encoding:
raise or lower the case of the alphabetic characters. There are no low
level functions for these macros because they are just wrappers for
%bytevector-u8-map
and %bytevector-u8-map!
.
bytevector-u8-upcase
and bytevector-u8-downcase
return the
result string and do not alter their argument.
bytevector-u8-upcase!
and bytevector-u8-downcase!
are the
in–place side–effecting variants.