public string ProcessTokenizedText(string tokenizedString)
{
string processed = string.Empty;
bool foundOne = false;
do
{
foreach (KeyValuePair<string, string> token in this.tokens)
{
if (tokenizedString.Contains(token.Key) && token.Value != null && token.Value != String.Empty)
{
if (token.Key != token.Value)
{
tokenizedString = tokenizedString.Replace(token.Key, token.Value);
foundOne = true;
}
}
}
} while (foundOne);
return processed;
}