ee.String.cat

  • The String.cat(string2) method concatenates two strings.

  • The method returns a new String.

  • The first string is 'this' and the second string is 'string2'.

Concatenates two strings.
Usage Returns
String. cat (string2) String
Argument Type Details
this: string1
String The first string.
string2
String The second string.

Examples

Code Editor (JavaScript)

 print 
 ( 
 ee 
 . 
 String 
 ( 
 'cat' 
 ). 
 cat 
 ( 
 ' bird' 
 )); 
  
 // 'cat bird' 

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)

 display 
 ( 
 ee 
 . 
 String 
 ( 
 'cat' 
 ) 
 . 
 cat 
 ( 
 ' bird' 
 )) 
 # 'cat bird' 
Create a Mobile Website
View Site in Mobile | Classic
Share by: