www.pudn.com > ppc_edit-1.2-src.zip > TextFunctions.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Modules
{
static class TextFunctions
{
public static String MassReplace(String Text,string[] oldValue, string[] newValue)
{
for (int i = 0; i < oldValue.Length; i++)
{
Text = Text.Replace(oldValue[i], newValue[i]);
}
return Text;
}
}
}