Method Add
Add(String, String)
Records a replacement to be applied to the input stream. Whenever
singleMatch
occurs in
the input, it will be replaced with
replacement
.
Declaration
public virtual void Add(string match, string replacement)
Parameters
Type | Name | Description |
---|---|---|
System.String | match | input String to be replaced |
System.String | replacement | output String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | if is the empty string, or was
already previously added |