G
Guest
I'm working with a commodity code list at work that was given to me in .TXT
format. Whatever program this list originated in, it wasn't configured to
wrap lines properly.
Look at the two sample records below. Sporadically throughout the list,
words are hyphenated that shouldn't be.
0191120 Foliage Or Leaves, Aspa- Ragus, Galax, Leucothia Or Smilax, Fresh
0191945 Media, Plant Bed Or Pot- Ting, Consisting Of Min- Eral Or Vegetable
Base
Aspa- Ragus
Pot- Ting
Min- Eral
In every occurence, there is a hyphen, followed by a space, then the
following letter is capitalized. Removing the hyphen and space is easy for
me, the problem is setting the proper capitalization where the words are
rejoined together. In other words, I don't want words to look like AspaRagus
or PotTing.
Can I use some code to fix the capitalization on that leading letter when I
delete the hyphen and space?
format. Whatever program this list originated in, it wasn't configured to
wrap lines properly.
Look at the two sample records below. Sporadically throughout the list,
words are hyphenated that shouldn't be.
0191120 Foliage Or Leaves, Aspa- Ragus, Galax, Leucothia Or Smilax, Fresh
0191945 Media, Plant Bed Or Pot- Ting, Consisting Of Min- Eral Or Vegetable
Base
Aspa- Ragus
Pot- Ting
Min- Eral
In every occurence, there is a hyphen, followed by a space, then the
following letter is capitalized. Removing the hyphen and space is easy for
me, the problem is setting the proper capitalization where the words are
rejoined together. In other words, I don't want words to look like AspaRagus
or PotTing.
Can I use some code to fix the capitalization on that leading letter when I
delete the hyphen and space?