End of Word ( hidden Characters ) Perl or C++ ?

Discussion in 'Programming' started by danny2000, Apr 17, 2008.

  1. #1
    Hi
    As there is a end of line character when converting say a PDF file to text, is there also a end of word character when converting a pdf to a text file. When the conversion takes place all the words on the same line are bunched together. Is there a way of separating these words ( hence the reason for this question.

    Thanks in advance.
     
    danny2000, Apr 17, 2008 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Use perl , try =~ s/ / /g
     
    it career, Apr 18, 2008 IP
  3. Rukna

    Rukna Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use EOF
    :)
     
    Rukna, Apr 18, 2008 IP