Skip to content
Contact us

ReplaceFirst()

Function reference Replaces the first occurrences of a string with another string. (Non case sensitive) *ReplaceFirst ( string1 , searchfor , replacewith )

ArgumentDescription
string1The string in which you want to replace searchfor with replacewith.
searchforthe string to replace.
replacewiththe string to use as replacement.

Data type: String

ReplaceFirst('1A2-1abc2' ,'a' , 'xyz'')

This expression returns 1xyz2-1abc2