How to take a Roman Numeral String and convert it to base10 digit?
<p>So I am building a sample project which takes roman numerals and converts it to a base10 digit. I tried getting this to work but have not accomplished my goal. Is there anyone who knows how to accomplish this? I am adding the roman numerals up to 10 below for reference. Thanks!</p>

<p>1 - I
2 - II
3 - III
4 - IV
5 - V
6 - VI
7 - VII
8 - VIII
9 - IX
10 - X</p>