#import <nsstring.h>
Inheritance diagram for NSString:

Public Member Functions | |
| (id) | init |
| Initialize string object. | |
| (id) | initWithCString: |
| Initialize string object with given C-style string. | |
| (id) | initWithCString:length: |
| Initialize string object with given C-style string and length. | |
| (id) | initWithData:encoding: |
| Initialize string object with data and encoding info. | |
| (id) | initWithGString: |
| Initiaize string by GString of glib. | |
| (void) | dealloc |
| Release resource for the object. | |
| (size_t) | length |
| Get length of the string. | |
| (size_t) | cStringLength |
| Get size of the string (by bytes). | |
| (unichar_t) | characterAtIndex: |
| Get indexed character. | |
| (NSRange) | rangeOfString: |
| Get range of substring in the string. | |
| (NSRange) | rangeOfString:options: |
| Get range of substring in the string. | |
| (NSRange) | rangeOfString:options:range: |
| Get range of substring in the string. | |
| (NSComparisonResult) | compare: |
| Compare 2 string object. | |
| (NSString *) | stringByAppendingString: |
| Add the string to the end of string. | |
| (NSString *) | substringWithRange: |
| Get substring from source string. | |
| (NSString *) | stringByPaddingToLength:withString:startingAtIndex: |
| Pad the string until given length. | |
| (NSString *) | stringByTrimmingCharactersInSet: |
| Remove head/tail characters which belongs to given set. And generate new string. | |
| (NSMutableArray *) | componentsSeparatedByString: |
| Separate string by given separator. | |
| (const char *) | cString |
| Get pointer of string. | |
| (GString *) | gString |
| Get GString data. | |
Protected Attributes | |
| GString * | str_body |
|
|
Get indexed character.
|
|
|
Compare 2 string object.
|
|
|
Separate string by given separator.
|
|
|
Get pointer of string.
|
|
|
Get size of the string (by bytes).
|
|
|
Release resource for the object.
Implements NSObject. Implemented in NSMutableString. |
|
|
Get GString data.
|
|
|
Initialize string object.
Implements NSObject. Implemented in NSMutableString. |
|
|
Initialize string object with given C-style string.
|
|
|
Initialize string object with given C-style string and length.
|
|
|
Initialize string object with data and encoding info.
|
|
|
Initiaize string by GString of glib.
|
|
|
Get length of the string.
|
|
|
Get range of substring in the string.
|
|
|
Get range of substring in the string.
|
|
|
Get range of substring in the string.
|
|
|
Add the string to the end of string.
|
|
|
Pad the string until given length.
|
|
|
Remove head/tail characters which belongs to given set. And generate new string.
|
|
|
Get substring from source string.
|
|
|
Main string data |
1.3.6