hello hello
i am back with one more small problem this time
in C it was pretty easy here i need a bit of help
i have this function that i take the full path name
ex. C:\Folder1\test.xls
i want to rename and nome this file to this folder with this kind of format
D:\Folder2\new\BBB_test.xls
i am looking for a way to cut the C:\Folder1\
and then replace it with D:\Folder2\new\BBB_
is there a fuction that can trim a string after it first encounters the character "" from the right
or even from the left even if that means that i have to reverse the string
????
note that the first file will not always be the same
ex C:\Folder1\test.xls
E:\something.xls
and they will always be moved to a specific file iunder the format that i mentioned
i am back with one more small problem this time
in C it was pretty easy here i need a bit of help
i have this function that i take the full path name
ex. C:\Folder1\test.xls
i want to rename and nome this file to this folder with this kind of format
D:\Folder2\new\BBB_test.xls
i am looking for a way to cut the C:\Folder1\
and then replace it with D:\Folder2\new\BBB_
is there a fuction that can trim a string after it first encounters the character "" from the right
or even from the left even if that means that i have to reverse the string
????
note that the first file will not always be the same
ex C:\Folder1\test.xls
E:\something.xls
and they will always be moved to a specific file iunder the format that i mentioned