How do I add a single character such as a ‘$‘ or a ‘+‘ at the beginning of an existing string?
I tried using the appendingString method but that adds the $ or + at the end of the string.
I know I can always save the $ or + in a new string and then append the other string, but I just want to know if there is a better way to do it.
Thank you.
This is actually very simple:
This should definitely work for you 🙂 And the
+will be at the beginning.