Functions
str.lower()
Converts a string to lower case. It takes the string and nothing else.
Syntax · 1 of 4
str.lower(const string source) → const string
Arguments
source required const string the string to convert Return Type
const string Syntax · 2 of 4
str.lower(input string source) → input string
Arguments
source required input string the string to convert Return Type
input string Syntax · 3 of 4
str.lower(simple string source) → simple string
Arguments
source required simple string the string to convert Return Type
simple string Syntax · 4 of 4
str.lower(series string source) → series string
Arguments
source required series string the string to convert Return Type
series string Example
indicator("Lowercase Example", overlay=false)
tickerSymbol = syminfo.ticker
lowercaseTicker = str.lower(tickerSymbol)
isLowercase = tickerSymbol != lowercaseTicker
plot(isLowercase ? 1 : 0, title="Converted to Lowercase", color=color.blue)