All functions / Text

TEXTBEFORE

The text that comes before a delimiter.

Syntax

=TEXTBEFORE(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])

Arguments

Example

=TEXTBEFORE("ada@example.com", "@") → "ada"

Practise it