S
SM
Hello,
I have a simple question, but can't find the answer.
I have a string that contains a path to a file
I want to add another string to the end of that string
So, if i have :
path = document/disco/album/hello.doc
i want it to become :
document/disco/album/hello_large.xls
it doesnt necessary means that the file will always end with .doc it
could be also .doc, xls... so i dont want to hardcode that part.
I've try using replace and substring with no success
Can someone help me with such a simple function?
Thanks
Marco
I have a simple question, but can't find the answer.
I have a string that contains a path to a file
I want to add another string to the end of that string
So, if i have :
path = document/disco/album/hello.doc
i want it to become :
document/disco/album/hello_large.xls
it doesnt necessary means that the file will always end with .doc it
could be also .doc, xls... so i dont want to hardcode that part.
I've try using replace and substring with no success
Can someone help me with such a simple function?
Thanks
Marco