Views:

Description

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

Signature

ReplaceLastOccurrence('inputstring', 'stringtobereplaced', 'replacementstring')

Example

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

Parameters

NameTypeDescriptionRequired
inputstringxxxxxxxxxxxx
stringtobereplacedxxxxxxxxxxxx
replacementstringxxxxxxxxxxxx

Notes: