LastIndexOf() method
<p>C# question:
I need to search backwards on a string using LastIndexOf()
The string in question is "South Dakota 1040"
Need to split the state name from the 1040 system indicator.
I can get the "1040" part of the string by itself, but can't get the state name by itself.
Have to go backwards since there are two spaces in the string.
Is there a better way to do this than what I'm looking at?</p>
