Skip to content

midb

Substring by byte position and length.

v = midb(text, start_num, num_bytes)

Like mid but counts in bytes.

  • mid — Substring starting at a given position.
  • leftb — First N bytes of a string.
  • rightb — Last N bytes of a string.