char[] delimiterChars = { ' ', '&', '\\', '/', '%', '(', ')', '.' ,';'};
string nw = string.Empty;
string[] words = foldernam.Split(delimiterChars);
foreach (string wor in words)
{
/if (foldername == "")
{
foldername = wor;
}
else
{
foldername = foldername + "-" + wor;
}
}
string nw = string.Empty;
string[] words = foldernam.Split(delimiterChars);
foreach (string wor in words)
{
/if (foldername == "")
{
foldername = wor;
}
else
{
foldername = foldername + "-" + wor;
}
}
No comments:
Post a Comment