Converts all of the characters in a string to upper case.
Usage | Returns | String.toUpperCase() | String |
Argument | Type | Details | this: string | String | The 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