Visual Basic (Declaration) | |
---|---|
Public Shared Function Transform( _ ByVal input As String, _ ByVal pattern As Regex, _ ByVal fnReplace As Converter(Of Match,String) _ ) As String |
Parameters
- input
- The text to perform the replacement upon
- pattern
- The regex used to perform the match
- fnReplace
- A delegate that selects the appropriate replacement text
Return Value
The newly formed text after all replacements are madeTarget Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7