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

NameTypeDescriptionRequired
inputstringxxxxxxxxxxxx
stringtobereplacedxxxxxxxxxxxx
replacementstringxxxxxxxxxxxx

Notes: