Guys, if anyone can help me, I would really appreciate it!
I’m trying to implement two solutions in this basic routine; one is to always put “0” before the numbers from 1 to 9 and the routine returns null; and the other is to remove the spaces from the family names and put - in their place, but it’s not working either. Can anyone tell me why?
-
List.Mapshouldn’t be necessary - the conditional on its own should be enough (just add an empty string so that the 2-digit numbers are returned as strings as well). That being said,String.PadLeftis a better option. -
String.Replaceshould be all you need here.
2 Likes
Wow, very simple. Thank you so much for your help! ![]()
2 Likes
