ee.String.toUpperCase

Converts all of the characters in a string to upper case.

UsageReturns
String.toUpperCase()String
ArgumentTypeDetails
this: stringStringThe string to convert to upper case.

Examples

Code Editor (JavaScript)

var s = ee.String('AaBbCc123');
print(s.toUpperCase());  // AABBCC123

Python setup

See the Python Environment page for information on the Python API and using geemap for interactive development.

import ee
import geemap.core as geemap

Colab (Python)

s = ee.String('AaBbCc123')
print(s.toUpperCase().getInfo())  # AABBCC123