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

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