Hi Leith, just two questions:

1) How do I ensure that the first letter of each item is capitalized?
From the example above:
(2) sticks#(5) paper#(100) aluminum wire
should be
Desired output:
(2) Sticks#(5) Paper#(100) Aluminum wire

2) If one item value has letter or only letter, e.g. wire rope (1d) or aluminum wire (d), how to change the code?
(d) Aluminum wire#(1d) Wire rope#(2) Sticks#(5) Paper