You're asking the Pascal forum. The answers might be biased. :-)
That said, Pascal is a solid language with a clean design that avoids many of the surprises and confusions of some popular languages. While not neglected by any means, it is still not as well supported as whatever the language of the year is now. I don't know what good introductory books are available these days.
Pascal is a particular flavor of programming languages: strongly typed, imperative, structured, procedural (with object-oriented features in recent implementations). If you're learning this out of curiosity, you might also like to explore the Lisp family of languages, which are almost completely different. I think that Racket is a good starting language.
If you're using FPC, you could possibly read the whole line at once to a string and then use the strutils.ExtractDelimited function to extract the parts.