Replace all occurrences of an alphanumeric identifier in a string. The identifier must be surrounded by non alphanumeric characters or at the start or end of the string.
The string to modify
The identifier to remove
The text to insert in place of the identifier
xf.Str.ReplaceIdentifier("(Pos + StartPos + EndPos) * Pos", "Snapper") => (Snapper + StartPos + EndPos) * Snapper