Length of a is the number of characters present in the string. These characters can be of the data type , and these include all alphanumeric elements, symbols and miscellaneous characters. In , there are two types of strings- of C-Style type, and String objects which are built-in objects of .
The length of a string also includes white spaces, but in case a string includes a terminating character “