Useful API Functions
This document lists most useful (and most often needed) functions. Be aware, that there are many more to be found in either the class references or via the builtin class browser.
Reference: String inherits from: CharacterArray Collection
Useful operations:
- copyFrom:start [ to:stop ]
- copyTo:stop
- indexOf:char [ startingAt:idx ]
- lastIndexOf:char [ startingAt:idx ]
- indexOfString:str [ startingAt:idx ]
- , str (comma = concatenation)
Reference: Collection
Reference: Filename
Reference: Stream
Reference: Number and its subclasses Integer, Float, Fraction, Complex