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

SPLIT_PART() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns a specific part of a string split by a delimiter

Syntax​

SPLIT_PART(string, delimiter, part_number)

Parameters​

ParameterDescriptionData TypeRequired
stringString valueStringYes
delimiterSeparator string placed between elementsStringYes
part_index1-based index of the substring to returnIntegerYes

Example​

SELECT
SPLIT_PART(full_name, ' ', 1)
FROM
rippling.employee.Employee
LIMIT
5;