#2

The new line '\n' is one character. The problem is that it takes your input as two characters separated.
You need a loop and check if current index is equal to '\\' and index+1 is equal to 'n' character. Then replace index with ' ' and index+1 with '\n' character.
Reply


Messages In This Thread
Help - by oghabanjb - 27.10.2018, 12:45
Re: Help - by Calisthenics - 27.10.2018, 12:52
Re: Help - by Infin1ty - 27.10.2018, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)