Archive Browser
Download cyotek.web.bbcodeformatter.zip, last updated 18/03/2010 (7.12 KB)
Download- md5: e33d27a1760bd48f92ea2556322c392f
namespace Cyotek.Web.BbCodeFormatter
{
internal class SearchReplaceFormatter : IHtmlFormatter
{
#region Private Member Declarations
private string _pattern;
private string _replace;
#endregion Private Member Declarations
#region Public Constructors
public SearchReplaceFormatter(string pattern, string replace)
{
_pattern = pattern;
_replace = replace;
}
#endregion Public Constructors
#region Public Methods
public string Format(string data)
{
return data.Replace(_pattern, _replace);
}
#endregion Public Methods
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate