In a specified input string, replaces all URLs with a string returned by an evaluator.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax 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:
StringA new string that is identical to the input string, except that a replacement string takes the place of each matched URL.
See Also