Text processing is going to take our knowledge of strings to a whole new level.
Back when I was consulting my first client was a newspaper in Milwaukee. They were in the process of moving from lead-based typesetting to producing their entire paper on the newly invented Apple MacIntosh computers and Laser printers. The paper specialized in legal news and construction news. The legal news included listing mortgages and deeds, death notices, marriage notices, bankruptcies and more. Reporters were sent to the courthouse daily to collect all this information. At the time they used one of the first laptops, Radio Shack Model 100 computers. All this information was collected as text.
My job was to pull all these text files and arrange the data into a common format. That meant formatting zip codes, adding commas where needed. Formatting names. Basically, doing a lot of text manipulation.
At the time we used the BASIC programming language. Might have been Microsoft’s Quick Basic if memory serves. But no matter what the language was, all those text manipulation tools are available on all languages today. In C# we’re going to start leaning them by examining the CHAR data time. And we’ll later move on to string manipulation. C# has a rich collection of tools to make all this happen.
But with this next video let’s look at CHAR:
Негізгі бет The Character Data Type
Пікірлер