- I’m printing text line by line.
- I have special symbols in the string (for ex: @ # $ %) which I will be using to identify more about the printing text.
- I don’t want to print special symbol in the printing text, for that I made a switch case of array and compare it to special characters
- In the screenshot below you can see I’ve omit to add special character cases in the printed string.
Now the problem comes ! Unreal doesn’t give me output string as I predicted. For Ex:
String: % $ @ Hello
String: @ $ %
String: @ Hello
String: @$ Hello @$%
Output: Hello @
As you can see how absurd the output string is. I wonder why I’m getting random errors. I need help.