Replace

Replaces occurrences of substring1 in a string with obj, in a specified scope.

The search is case-sensitive. Function returns original string with replacements made

Method Signature

Replace(string=[string], substring1=[string], obj=[any], scope=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to search

substring1

string

true

The substring to search for

obj

any

true

The string to replace substring1 with

scope

string

true

The scope to search in

one

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC