FUNCTION REFERENCE

extractAfter

Extract text after a pattern or position.

Extract text after a pattern or position.

Syntax

s = extractAfter(s,boundary)

Positions count UTF-16 code units, starting at one. A position splitting a surrogate pair is unsupported.

Example

extractAfter("abc",1)

Differences from MATLAB: bounded 2-D string storage (65536 elements, 2 MiB text); MAT persistence and N-D strings are not implemented.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.