Lipi Reference Lipi

Functions

string()

Casts na to string

Syntax · 1 of 4

                string(const string value) → const string
              

Arguments

value required const string The value to convert to the specified type, usually na.

Return Type

const string

Syntax · 2 of 4

                string(input string value) → input string
              

Arguments

value required input string The value to convert to the specified type, usually na.

Return Type

input string

Syntax · 3 of 4

                string(simple string value) → simple string
              

Arguments

value required simple string The value to convert to the specified type, usually na.

Return Type

simple string

Syntax · 4 of 4

                string(series string value) → series string
              

Arguments

value required series string The value to convert to the specified type, usually na.

Return Type

series string

Example


          indicator("String Upper Example", overlay=false)
lowerStr = "gocharting"
upperStr = str.upper(lowerStr)
plot(close, title=upperStr)