January 2017
Intermediate to advanced
606 pages
14h 1m
English
6.2 String Processing Examples
Elementary forms of data such as numeric and Boolean are called scalar data types. Several applications require more complex forms of data. For example, the name of a person, or an SMS may be expressed in the form of a string. We have already been dealing with strings. In this chapter, we shall discuss more about strings
As mentioned earlier, a string is a sequence of characters. A string may be specified by placing the member characters of the sequence within quotes (single, double or triple). Triple quotes are typically used for strings that span multiple lines. The following assignment statement assigns the string 'Hello Gita' to the ...