I can't split a string with a variable:
string directoryName = Path.GetDirectoryName(Global.filepath);
string relativePath = ofd.FileName.Split(directoryName);
I get this error for directoryName: "Argument 1: cannot convert from 'string' to 'char'"
Has anyone an other idea? Thanks for the help.
string.Splitin a single string variable.