/
SUBSTITUTEFIRST

SUBSTITUTEFIRST

Syntax

SUBSTITUTEFIRST(<string>; <search string>; <new string>)

Description

Substitutes new text for the first occurrence of the old text in a text string.

Examples

StringSearch stringNew stringSUBSTITUTEFIRST returns
searchnomatchreplacementsearch
searchsearchreplacementreplacement
search searchsearchreplacementreplacement search

Related content

SUBSTITUTEFIRST
SUBSTITUTEFIRST
More like this
SUBSTITUTEFIRST
SUBSTITUTEFIRST
More like this
SUBSTITUTEALL
SUBSTITUTEALL
More like this
SUBSTITUTEALL
SUBSTITUTEALL
More like this
SUBSTITUTEALL
SUBSTITUTEALL
More like this
REPLACE
More like this