+ (instancetype)stringWithFormat:(NSString *
)format
,...
@property(readonly, copy) NSString *pathExtension
Receiver’s String Value | String Returned |
---|---|
“ | “ |
“ | “ |
“ | “” (an empty string) |
“ | “” (an empty string) |
“ | “ |
@property(readonly, copy) NSString *lowercaseString
- (BOOL)isEqualToString:(NSString *
)aString
+ (instancetype)stringWithContentsOfFile:(Returns a string created by reading data from the file at a given path interpreted using a given encoding.NSString *
)path
encoding:(NSStringEncoding
)enc
error:(NSError **
)error
Returns a new string in which the characters in a specified range of the receiver are replaced by a given string.- (NSString *)stringByReplacingCharactersInRange:(NSRange
)range
withString:(NSString *
)replacement