PKHeX/PKHeX.Core/Util/PathUtil.cs

12 lines
257 B
C#

using System.IO;
namespace PKHeX.Core
{
public static partial class Util
{
public static string CleanFileName(string fileName)
{
return string.Concat(fileName.Split(Path.GetInvalidFileNameChars()));
}
}
}