to read the file name help me plz.....
-
hi all is there any possiblity to read the half of the fle name that is i have a file name Myfilename_name.txt, i want to read its name only up to Myfilename. is it possible in C#. like if we want to search a file we used to give like name.* or *.txt or na* . like that do plz help me to solve this.....
-
hi all is there any possiblity to read the half of the fle name that is i have a file name Myfilename_name.txt, i want to read its name only up to Myfilename. is it possible in C#. like if we want to search a file we used to give like name.* or *.txt or na* . like that do plz help me to solve this.....
Do use "split" function and take the one before the last item in the returned array.
jayasshc
-
hi all is there any possiblity to read the half of the fle name that is i have a file name Myfilename_name.txt, i want to read its name only up to Myfilename. is it possible in C#. like if we want to search a file we used to give like name.* or *.txt or na* . like that do plz help me to solve this.....