Hello,
I have some directories named jones_fred, smith_jack, graves_robin
etc
I need to get these names into variables in this format:
var1 = "fred jones"
var2 = "jack smith"
var3 = "robin graves"
These will then populate some buttons in another application.
The folder names start off with last name first for ordering purposes.
For the life of me I cannot figure this out. I can get part of it working, but trying implode, explode, etc gives me an array (with fred as one value and jones as another value), I'm getting tied in mental knots. I am sure this is very easy to accomplish but if someone could set me on the correct path I be much obliged. I have spent several hours trying to work it out on my own, but I just don't have the overview to get the code correct.
regards,
AndyD