# REPLACE() Function

### Description

Replaces occurrences of a substring within a string with another substring

### Syntax

```sql
REPLACE(source_string, search_string, replacement_string)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _string_ | String value | String | Yes |
| _search_ | Value or substring to search for | String | Yes |
| _replacement_ | Replacement string | String | Yes |

### Example

```sql
SELECT
    REPLACE(full_name, ' ', '_')
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/replace

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
