If I have a string like SMITH 9-2 #3-10H13 how can I modify the 9-2 to be 09-02 using C#? Another example is RODGER 3-1 #5-11H17 would be RODGER 03-01 #5-11H17. Another is GWIN 10-3 #6-11H12 would be GWIN 10-03 #6-11H12. and so on.. I’m stumped.
Share
Not the prettiest code but here you go