M
merrittr
i am trying to split the contents of a textbox
(the value will be a filespec path so \ are included)
anyway how do I split on the \?
strFileNameOnServer = uplTheFile.Value;
char[] sep = @"\";
string[] arrStr=strFileNameOnServer.Split(sep);
strFileNameOnServer = arrStr[arrStr.Length].ToString();
(the value will be a filespec path so \ are included)
anyway how do I split on the \?
strFileNameOnServer = uplTheFile.Value;
char[] sep = @"\";
string[] arrStr=strFileNameOnServer.Split(sep);
strFileNameOnServer = arrStr[arrStr.Length].ToString();