Texts

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?

  1. List.Map shouldn’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.PadLeft is a better option.

  2. String.Replace should be all you need here.

2 Likes

Wow, very simple. Thank you so much for your help! :grinning_face_with_smiling_eyes:

2 Likes