PINE LIBRARY

Unispaces

Updated
Library "Unispaces"
Easier than looking up unicode spaces

spaces(sequence, string1, string2)
  UNISPACES
  Parameters:
    sequence: (int) required | 123 = 3 spaces / 3 different sizes (one space per number can find spaces in hover over)
    string1: (str) optional | default = ""
    string2: (str) optional | default = ""
  Returns: `string - concatenated string surrounding unispaces`

space(space, string1, string2)
  UNISPACE
  Parameters:
    space: (int) optional | default = 0 | 0-15 (can find spaces in hover over)
    string1: (str) optional | default = ""
    string2: (str) optional | default = ""
  Returns: `string - concatenated string surrounding a unispace `
Release Notes
v2

Added:
repeat(to_repeat, count)
  Parameters:
    to_repeat: (str) required | "ABC"
    count: (str) required |
  Returns: `string - string of repeated strings`
***
displayffrizzformatformattingfrizlabzspacespacesstringstringsunicodeunispace

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.


Also on:

Disclaimer