URLParser Replace Method Kentico 8.1 API Reference
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: 8.0.0.0 (8.1.5347.20411)

Parameters

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

Return Value

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