Vyxapedia

Element - - Left Bit Shift

Characters:


Description

Left-bitshift a value / left-justify a string


Overloads

  • num-num - a >> b
  • num-str - a.ljust(b)
  • str-num - b.ljust(a)
  • str-str - a.ljust(len(b)-len(a))

Examples

  • 4 1 ↲ = 8
  • 8 `green` ↲ = `green `
  • `hello` `cheeseburger` ↲ = `hello `