Hi
I have a listbox that contains filenames,the listbox can contain 1 filename or more(up to 10).I want the content of the listbox to be displayed in a string Msg as follow:
If the listbox contains File1,File2 and File3,I want the string Msg to be:
Msg="File1,File2,File3"
but if the listbox contains only one filename,let's Msg be:
Msg="File1"
I tried a code but I obtained a comma at the the end of the string like
Msg="File1,".So how can I avoid the last comma?
thanks