hi,
I have a string, I use the Remove method and the string stays the same.
ublic static bool CreatePrepareFile(string path)
{
Console.WriteLine(path);
int ind = path.LastIndexOf('\\');
Console.WriteLine("index is : {0}", ind);
path.Remove(ind);
This code is to take out the path out of a full filename. The index is
correct, I checked, but the string isn't removed as should!
why ?
Thanks.