1. I Need to search in a file by reading it character by character, the problem is that each line ends with spaces before the next line begins......... how to remove spaces between lines and make the search contiue automatically.
2. In another case I need to read a file line by line and process it. to ger a new file where each line contains no more that 30 characters and the rest of characters make a new line and so on........... .