Useful API Functions: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
| Zeile 14: | Zeile 14: | ||
* '''lastIndexOf:'''char [ '''startingAt:'''idx ] |
* '''lastIndexOf:'''char [ '''startingAt:'''idx ] |
||
* '''indexOfString:'''str [ '''startingAt:'''idx ] |
* '''indexOfString:'''str [ '''startingAt:'''idx ] |
||
* ''',''' str (comma = concatenation) |
* ''',''' str (comma = ''concatenation'') |
||
== [[Collection API Functions | Collection]] == |
== [[Collection API Functions | Collection]] == |
||
Version vom 4. Dezember 2019, 13:34 Uhr
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