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=[string], scope=[string])

Arguments

ArgumentTypeRequiredDescriptionDefault

string

string

true

The string to search

substring1

string

true

The substring to search for

obj

string

true

The string to replace substring1 with

scope

string

true

The scope to search in

once

Examples

Last updated

Logo

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