using System;
using System.Collections.Generic;
using System.Text;
namespace ivware.Mobile.RAPISync.Core
{
public class Utilities
{
public static string CleanFileName(string i_file)
{
string retVal = i_file.Replace("/", "");
retVal = retVal.Replace(@"\", "");
retVal = retVal.Replace(":", "");
retVal = retVal.Replace("*", "");
retVal = retVal.Replace("?", "");
retVal = retVal.Replace("\"", "");
retVal = retVal.Replace("<", "");
retVal = retVal.Replace(">", "");
retVal = retVal.Replace("|", "");
return retVal;
}
}
}