Microsoft® Visual Basic® Scripting Edition
Replace Function
| Language Reference 
| Home | Site Map |

 

See Also


Description
Returns a zero-based, one-dimensional array containing a number of delimited substrings.

Syntax

Replace( expression, delimiter)

The Replace function syntax has these parts:

Part Description
expression Required. String expression containing substrings and delimiters.
delimiter Optional. String character used to identify substring limits. If omitted, the space character is assumed to be the delimiter.
count Optional. Number of substrings to be returned. -1 indicates that all substrings are returned.
compare Optional. Numeric value indicating the kind of comparison to use when evaluating substrings.

Remarks


© 1996 by Microsoft Corporation.