Click or drag to resize
URLParserReplace Method
In a specified input string, replaces all URLs with a string returned by an evaluator.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntax
C#
public string Replace(
	string input,
	Func<URLParserMatch, string> evaluator
)

Parameters

input
Type: SystemString
The string to search for URLs.
evaluator
Type: SystemFuncURLParserMatch, String
A custom method that examines each match and returns a replacement string.

Return Value

Type: String
A new string that is identical to the input string, except that a replacement string takes the place of each matched URL.
See Also