For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

REPLACE() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Replaces occurrences of a substring within a string with another substring

Syntax​

REPLACE(source_string, search_string, replacement_string)

Parameters​

ParameterDescriptionData TypeRequired
stringString valueStringYes
searchValue or substring to search forStringYes
replacementReplacement stringStringYes

Example​

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