Skip to content

rightb

Last N bytes of a string.

v = rightb(text, num_chars)

Like right but counts in bytes.

  • right — Last N characters of a string.
  • leftb — First N bytes of a string.
  • midb — Substring by byte position and length.