This may seem like a bit of a strange question, but I want to make an "enter" keystroke into a string. I made a rather basic program to scan my papers (that I write for school) to find things such as prepositions at the end of a sentence or contractions I may have accidentally added. My issue is, when i put the paper into my code, it try to tokenize all the sentences at periods. When it reaches the point where I hit "enter" to move to the next line, it breaks and stops tokenizing. I thought of maybe making "enter" into a string so that i could replace it with a space, but I can't figure out how to get the effects of an "enter" into a string. Is there another way to stop the "enters" from breaking my code?
Sum up: I enter my paper into my code and the effects of hitting "enter" in the paper cause the code to err. I want to be able to enter the paper and have the code ignore the effects of the "enter."
Thanks for any help!