How can I check if my string starts with <p> and add that text if it doesn't in C#
<p>If I have string named codeText. Sometimes that string starts with a <code>&lt;p&gt;</code> and other times not. Can anyone tell me how I can check if it starts with <code>&lt;p&gt;</code> and if it doesn't then how can I add the <code>&lt;p&gt;</code> to the start and <code>&lt;/p&gt;</code> to the end.</p>
