• Login

Snippets

22
public string FixTokens(string _myOriginal, string _myToken, string _myReplacement)
{
 try
 {
  string _ReturnValue = "";
  _ReturnValue = _myOriginal.ToString().Replace(_myToken, _myReplacement.ToString()).ToString();
  return _ReturnValue;
 }
 catch (Exception ex)
 {
  Exceptions.ProcessModuleLoadException(this, ex);
  return ex.ToString();
 }
}

Post Rating

Comments

There are currently no comments, be the first to post one!

Post Comment

Name (required)

Email (required)

Website