Thursday, November 27, 2008

Strings

String is one of the object related features. To understand Strings fully then you need to have a comprehensive knowledge of strings. The string type can be used to declare string variables and a quoted string constant can be assigned to a string variable. A variable of type string can be assigned to another variable of type. An object of string type is an argument to print (). Str is an object of type string. It is assigned the string “this is a test”. This is displayed by the print () statement. String objects have many special features and attributes that make the quite powerful and easy to use.

0 comments: