Hey there. I have a range of strings (Basically filenames) and I want to strip them down.

Basically I load a list of files (path/clubs/) and it lists them into a list box as club1.adf club2.adf etc.

I then select club1.adf for example from the list box, and hit a button. The button then loads path/club1 into my application.

So basically I want to split the .adf from the club1. Something like the following, I imagine?

X = club1.adf
'splitting here'
Y = club1
listbox1.items.add(Y)

I hope this sounds simple!