Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Description

Searches for a string specified by the search parameter, and replaces it with the string specified by the replaceWith parameter. The search string can be a literal, a regular expression, or a combination of both. Since the string can contain regular expressions, use a backslash to escape special characters. Special characters are [^$.|?*+().

C#
vb.net

Parameters

The string to find and replace.
replaceWith
The replacement string.

Returns

The number of occurences that were found and replaced.

Examples

C#
vb.net
  • No labels