str.lower

Converts a string to lower case. It takes the string and nothing else.

str.lower(const string source) → const string
str.lower(input string source) → input string
str.lower(series string source) → series string
str.lower(simple string source) → simple string
ParameterTypeRequiredDescription
sourceconst stringyesthe string to convert

Returns const string or input string or series string or simple string — A string in the form of the argument you pass.

indicator("Ticker in lower case")
alert(str.lower(syminfo.ticker))
plot(close)

See also str.contains · str.endswith · str.format_time

Part of the function index.

Ready to put this into practice?
Try GoCharting Premium
Unlock advanced orderflow, market profile, options desk, and real-time data — everything you just read about, live in your charts.
Upgrade