VirtualString.Replace(String, String) Method

Top 

Description

Returns a modified copy of the calling VirtualString in which all occurences of stringToReplace have been replaced with replacementString.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

VirtualString.Replace(

String stringToReplace,


String replacementString)

 

 

Arguments

stringToReplace


Description:

The string or character to find and replace in the returned String.

 

 

replacementString


Description:

The string or character to use in place of the substrings matched by stringToReplace.

 

 

 

Return Value

Type:

string

 

 

Returns a modified copy of the calling VirtualString in which occurences of stringToReplace have been replaced with replacementString.

 

Syntax

myString1 = myString2.ToLowercase().Replace(myString3, myString4);

 

 

See also

VirtualString Object

VirtualString.Replace