ReferenceFunctionsText Functions
TEXTAFTER
TEXTAFTER: Returns text that appears after a delimiter.
Summary
Returns text that appears after a delimiter.
Remarks
- Delimiter matching is case-sensitive.
instance_numdefaults to1; negative instances search from the end.instance_num=0or empty delimiter returns#VALUE!.- If requested delimiter occurrence is not found, returns
#N/A.
Examples
Text after first delimiter
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
b-c
Text after last delimiter
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
c
Related functions
FAQ
Is matching case-sensitive?
Yes. TEXTAFTER performs case-sensitive delimiter matching in this implementation.
Runtime metadata
Category
Text
Signature
TEXTAFTER(arg1: Any, arg2: Any, arg3?: Number)Arity
min 2, max 3
Arguments
arg1Any · Scalar
arg2Any · Scalar
arg3optionaldefaultNumber · Scalar · coercion NumberLenientText
Caps
PURE
Source