May 2010
Intermediate to advanced
1752 pages
41h 17m
English
System.String provides a number of methods you would expect from such a utility class, including methods that return the length of the character data, find substrings within the current string, and convert to and from uppercase/lowercase. Table 3-5 lists some (but by no means all) of the interesting members.
| String Member | Meaning in Life |
|---|---|
| Length | This property returns the length of the current string. |
| Compare() | This static method compares two strings. |
| Contains() | This method determines whether a string contains a specific substring. |
| Equals() | This method tests whether two string objects contain identical character data. |
| Format() | This static method formats a string using other primitives ... |