Skip to content
Algo Trade Analytics Docs

str.upper() - Pine Script Function

Returns a new string with all letters converted to uppercase.

str.upper(source) → const string
NameTypeDescription
sourceconst stringString to be converted.

A new string with all letters converted to uppercase.