ee.String.toLowerCase

Converts all of the characters in a string to lower case.
Usage Returns
String. toLowerCase () String
Argument Type Details
this: string
String The string to convert to lower case.

Examples

Code Editor (JavaScript)

 var 
  
 s 
  
 = 
  
 ee 
 . 
 String 
 ( 
 'AaBbCc123' 
 ); 
 print 
 ( 
 s 
 . 
 toLowerCase 
 ()); 
  
 // 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 
 . 
 toLowerCase 
 () 
 . 
 getInfo 
 ()) 
 # aabbcc123 
Create a Mobile Website
View Site in Mobile | Classic
Share by: