# ee.String.cat

Concatenates two strings.

<br />

| Usage | Returns |
|---|---|
| `String.cat(string2)` | String |

| Argument | Type | Details |
|---|---|---|
| this: `string1` | String | The first string. |
| `string2` | String | The second string. |

## Examples

### Code Editor (JavaScript)

```javascript
print(ee.String('cat').cat(' bird'));  // 'cat bird'
```
Python setup

See the [Python Environment](https://developers.google.com/earth-engine/guides/python_install) page for information on the Python API and using
`geemap` for interactive development.

```python
import ee
import geemap.core as geemap
```

### Colab (Python)

```python
display(ee.String('cat').cat(' bird'))  # 'cat bird'
```