The String class doesn't support UTF-8 (http://en.wikipedia.org/wiki/UTF-8), while most editors that are in use with SuperCollider allow strings to be written in unicode. Such strings are internally represented in a way that doesn't split the string into correct characters. This class makes it easier to use UTF-8 encodings.
Thanks to Laureano López.
"Strang" is German for string, rope, strand, cord, skein.
The Deutsches Wörterbuch von Jacob Grimm und Wilhelm Grimm writes:
"strang, m. , dickes, gedrehtes seil. herkunft und form. altnord. strengr, ags. streng, engl. string, fries. stringe, mnl. strenge, stringe, strenc, nl. streng, stranc. das deutsche hat formen der a-, i- und n-declination sowie masc. und fem. genus nebeneinander: im ahd. sg. nom. stranc, strangi, strengi, strenki, pl. nom. strangun, dat. strangon, strengin, s. Graff ahd. sprachsch. 6, 755; im mhd. st. masc. stranc neben sw. masc. und fem. strange; im mnd. sg. strank, strange, pl. nom. strenge, dat. strengen, acc. strengen, strenge. […]"
http://woerterbuchnetz.de/DWB/?sigle=DWB&mode=Vernetzung&lemid=GS50779#XGS50779
Create a new instance from another collection, typically a String. This method is used by the message call Object: -as.
string |
The string in usual encoding. |
Find a substring.
string |
string or strang to search for. |
ignoreCase |
not yet supported |
offset |
initial offset into the receiver string. |
Make all elements of the strang (characters or other strangs) compatible, which effectively means to convert all substrings into a Strang.
Format as a String, adding delimters for nested strings.