Vyxapedia

Element - ø↳ - Custom Pad Left

Characters: ø,


Description

Pad a string to the left with a certain character


Overloads

  • any-str-num - pad a to the left with c so a has length b
  • any-num-str - pad a to the left with b so a has length c

Examples

  • `xyz` `x` 4 ø↳ = `xxyz`
  • `123` `&` 8 ø↳ = `&&&&&123`
  • `123` 8 `&` ø↳ = `&&&&&123`
  • `324` ` ` 2 ø↳ = `324`