NSString

+(id)stringWithFormat:,... creates a string following the format as defined in the first parameter. Further parameters are used to fill in the format. This method cannot be called from the MolTalk scripting language.
+(id)stringFromCharArray: (NSArray*)astr addition to NSString to create a string from an array of character codes (instances of NSNumber9.2)
-(float)floatValue -(double)doubleValue return converted real numbers
-(int)intValue -(long)longValue return converted integer numbers
-(NSString*)stringByAppendingString: (NSString*)str return a new string, which is the concatenation of the two
-(NSString*)substringToIndex: (int)idx returns substring up to but not including index (start counting at 0)
-(NSString*)substringFromIndex: (int)idx returns substring from the index to the end of the string

moltalk@moltalk.org      version of this document: V3.0