PINE LIBRARY
Updated Unispaces

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 `
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
v2Added:
repeat(to_repeat, count)
Parameters:
to_repeat: (str) required | "ABC"
count: (str) required |
Returns: `string - string of repeated strings`
***
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 publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
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 publications is governed by House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.