I need a simple c# function that will take a string, do a very little amount of parsing, and return an itextsharp Phrase() object.
The two things I need parsed into Chunks() are <sup>3</sup> and <deg> html tags.
The <sup>some text</sup> should parse into a Chunk with the
[login to view URL](5);
property set. The <deg> should return a degree symbol. I'm not sure how to display the deg symbol in itextsharp.
So if I send the string "This value is 4 m<sup>3</sup>. The next value is 14 <deg>F. Another value is 12 m<sup>4</sup>. and one more temperature is 65 <deg>C." a properly formates Phrase should be returned. In this case made up of 9 Chunks.
For info on itextsharp check out
<[login to view URL]>
You will see this is more of a c# parsing project than an itextsharp project.
## Deliverables
1) c# function(s) that provides the required parsing.
2) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
C#
itextsharp