how to declare a string array?
I want to split a string, e.g., \\coacd\folder1\folder2\folder3\folder4\test.txt. I want to grab \folder3\folder4\test.txt and compose a file path, e.g. c:\tempfile\folder3\folder4\test.txt. since folder and file names are varies i am thinking to use spilt("\") to split the string to a string array and recompose the file path by grabbing last three array items. However I do not know how to declare a string array. I used fileList() but it did not work. Please help.
0
-
thanks. that is just what i want! 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar