Beginner logic development
<p>I am a beginner programmer in C# who just got started. I have a task at hand where a program needs to read a string and perform some string manipulation. The UI provides a <code>TextBox</code> and all the options below as <code>CheckBox</code>es. User can select any or all.</p>

<ol>
<li>Remove any spaces.</li>
<li>Remove any special chars like ',' etc.</li>
<li>Remove any numbers.</li>
<li>Convert to camelCase.</li>
</ol>

<p>There can be more options as part of the string cleanup. I have wrttten the string processing in a method, that has a chasm of if ... else ifs ...</p>

<p>I am sure there is a way around.</p>

<p>Appreciate any help.</p>

<p>Thanks for all the solutions, but I think my point did was not put across correctly.
The string processing will be done in a particular order depending on the checkbox value.
User might select just one or every option provided. In case there is more than one selected, it should be like</p>

<pre><code>    if(RemoveSpaces.checked)
{
    RemoveSpaces(string inputString);
    // After removing spaces do the other operations
}

else if (RemoveSpecialChars.checked)
{
    RemoveSpecialChars(string inputString);
    // Do other processing
}
</code></pre>
