Views:

Description

Returns a new string in which the first occurrence of a specified string in the 'inputstring' are replaced with another specified string. 

Signature

ReplaceFirstOccurrence('inputstring', 'stringtobereplaced', 'replacementstring')

Example

ReplaceFirstOccurrence('Formula Rocks Manager Rocks', 'Rocks', 'is great')
Returns 'Formula is great Manager Rocks'

Parameters

Name Type Description Required
inputstring xxxx xxxx xxxx
stringtobereplaced xxxx xxxx xxxx
replacementstring xxxx xxxx xxxx