Here goes...

I have a list.ini file that looks like this:
[Fruit]
Apples=2
Oranges=4
Peaches=3
Banannas=5

[Drinks]
Milk=2
Beer=12
OJ=1

I'm using this to read the above ini file:
$fruit1=ReadProfileString(list.ini,"Fruit","")

Now what I need is to take $fruit1 and reformat it to enclose each entry with a "'" and seperate each entry with a ",". I just can't get my mind around how to do it?

Any help would be greatly welcome'd.
_________________________
Doo'n it doggie style!