ee.String.cat

Concatenates two strings.

UsageReturns
String.cat(string2)String
ArgumentTypeDetails
this: string1StringThe first string.
string2StringThe 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)

print(ee.String('cat').cat(' bird').getInfo())  # 'cat bird'