bytes->remove
Removes bytes.
Target
Signature
1bytes->remove(position::integer= ?, num::integer= ?)Removes bytes.
bytes->remove is called with member syntax on a receiver value. bytes->remove works with binary values. Convert strings to bytes before byte-level hashing or encoding, then convert back to a string only for display or transport.
Parameters
position- Optional value of type
integer. Supplypositionpositionally unless the signature shows a keyword form. num- Optional value of type
integer. Supplynumpositionally unless the signature shows a keyword form.
Examples
Basic call
1bytes('abc')->remove(2, 1)The example keeps binary work on bytes and converts only when text output is needed.